From 75e22d133e0726c6e3d7124eb18edfb9cb09400e Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Sat, 13 Jan 2018 22:52:17 -0800 Subject: [PATCH] minor : try to tell static analyzer that we don't care if fseek() fails as already explained in comments. --- programs/lz4io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {