summaryrefslogtreecommitdiff
path: root/main/lzo/lzotest/wrap.h
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2017-06-22 18:33:26 +0200
committerArne Schwabe <arne@rfc2549.org>2017-06-22 18:33:26 +0200
commit6c12bd2094234edc1a129969b89cf45b1da889bd (patch)
treea39b3af9ad861334a844035d4d88232c8f9ed0ec /main/lzo/lzotest/wrap.h
parentf35afa13da08a058bc28ca0e535e044093148e3a (diff)
Update lzo to 2.10
Diffstat (limited to 'main/lzo/lzotest/wrap.h')
-rw-r--r--main/lzo/lzotest/wrap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/lzo/lzotest/wrap.h b/main/lzo/lzotest/wrap.h
index d2a9c13a..815ce046 100644
--- a/main/lzo/lzotest/wrap.h
+++ b/main/lzo/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;