summaryrefslogtreecommitdiff
path: root/lzotest
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-06-22 16:59:51 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-06-22 16:59:57 +0900
commit57de6cacd32854c3b7942dde1803894341f78cee (patch)
treeba55c881a740c59ea9443a139e4c4ae91e44e95d /lzotest
parent8ff61daa672f051d8ecb537edc94036b6cdaaf3f (diff)
downloadlzo-57de6cacd32854c3b7942dde1803894341f78cee.tar.gz
lzo-57de6cacd32854c3b7942dde1803894341f78cee.tar.bz2
lzo-57de6cacd32854c3b7942dde1803894341f78cee.zip
Imported Upstream version 2.10upstream/2.10upstream
Change-Id: Ic72ac9c6134dff3a335d581378095e0011abcb08 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'lzotest')
-rw-r--r--lzotest/asm.h2
-rw-r--r--lzotest/db.h2
-rw-r--r--lzotest/lzotest.c6
-rw-r--r--lzotest/wrap.h4
-rw-r--r--lzotest/wrapmisc.h2
5 files changed, 9 insertions, 7 deletions
diff --git a/lzotest/asm.h b/lzotest/asm.h
index 72b8289..3648bbe 100644
--- a/lzotest/asm.h
+++ b/lzotest/asm.h
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
diff --git a/lzotest/db.h b/lzotest/db.h
index 36fc481..d702341 100644
--- a/lzotest/db.h
+++ b/lzotest/db.h
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
diff --git a/lzotest/lzotest.c b/lzotest/lzotest.c
index e4bae0f..41fd726 100644
--- a/lzotest/lzotest.c
+++ b/lzotest/lzotest.c
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
@@ -1456,7 +1456,7 @@ void usage ( const char *name, int exit_code, lzo_bool show_methods )
if (c->decompress_asm_fast_safe)
{ fprintf(fp, "%s%s", sep, "fastasm+safe"); sep = ", "; }
if (c->optimize)
- { fprintf(fp, "%s%s", sep, "optimize"); sep = ", "; }
+ { fprintf(fp, "%s%s", sep, "optimize"); /*sep = ", ";*/ }
fprintf(fp, "\n");
}
}
@@ -1904,7 +1904,7 @@ int __lzo_cdecl_main main(int argc, char *argv[])
printf("\nLZO real-time data compression library (v%s, %s).\n",
lzo_version_string(), lzo_version_date());
- printf("Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer\nAll Rights Reserved.\n\n");
+ printf("Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer\nAll Rights Reserved.\n\n");
/*
diff --git a/lzotest/wrap.h b/lzotest/wrap.h
index d2a9c13..815ce04 100644
--- a/lzotest/wrap.h
+++ b/lzotest/wrap.h
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or
@@ -238,6 +238,7 @@ adler32_x_compress ( const lzo_bytep src, lzo_uint src_len,
lzo_uint32_t adler;
adler = lzo_adler32(0, NULL, 0);
adler = lzo_adler32(adler, dst, src_len);
+ LZO_UNUSED_RESULT(adler);
*dst_len = src_len;
LZO_UNUSED(src); LZO_UNUSED(wrkmem);
return 0;
@@ -252,6 +253,7 @@ crc32_x_compress ( const lzo_bytep src, lzo_uint src_len,
lzo_uint32_t crc;
crc = lzo_crc32(0, NULL, 0);
crc = lzo_crc32(crc, dst, src_len);
+ LZO_UNUSED_RESULT(crc);
*dst_len = src_len;
LZO_UNUSED(src); LZO_UNUSED(wrkmem);
return 0;
diff --git a/lzotest/wrapmisc.h b/lzotest/wrapmisc.h
index 12c4809..50e73b6 100644
--- a/lzotest/wrapmisc.h
+++ b/lzotest/wrapmisc.h
@@ -2,7 +2,7 @@
This file is part of the LZO real-time data compression library.
- Copyright (C) 1996-2015 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
All Rights Reserved.
The LZO library is free software; you can redistribute it and/or