From: Yann Collet Date: Sun, 14 Jan 2018 06:52:17 +0000 (-0800) Subject: minor : try to tell static analyzer that we don't care if fseek() fails X-Git-Tag: upstream/1.9.3~11^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75e22d133e0726c6e3d7124eb18edfb9cb09400e;p=platform%2Fupstream%2Flz4.git minor : try to tell static analyzer that we don't care if fseek() fails as already explained in comments. --- 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 {