summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2018-01-14 06:52:17 (GMT)
committerYann Collet <cyan@fb.com>2018-01-14 06:52:17 (GMT)
commit75e22d133e0726c6e3d7124eb18edfb9cb09400e (patch)
treea583aab959a1db79ef1c28eb01d125417b860cef
parent18b4c66d257a583b09e85243d21a23638b618411 (diff)
downloadlz4-75e22d133e0726c6e3d7124eb18edfb9cb09400e.zip
lz4-75e22d133e0726c6e3d7124eb18edfb9cb09400e.tar.gz
lz4-75e22d133e0726c6e3d7124eb18edfb9cb09400e.tar.bz2
minor : try to tell static analyzer that we don't care if fseek() fails
as already explained in comments.
-rw-r--r--programs/lz4io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c
index 3502038..927928a 100644
--- a/programs/lz4io.c
+++ b/programs/lz4io.c
@@ -429,7 +429,7 @@ static void* LZ4IO_createDict(const char* dictFilename, size_t *dictSize) {
/* opportunistically seek to the part of the file we care about. If this */
/* fails it's not a problem since we'll just read everything anyways. */
if (strcmp(dictFilename, stdinmark)) {
- UTIL_fseek(dictFile, -LZ4_MAX_DICT_SIZE, SEEK_END);
+ (void)UTIL_fseek(dictFile, -LZ4_MAX_DICT_SIZE, SEEK_END);
}
do {