projects
/
platform
/
upstream
/
lz4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18b4c66
)
minor : try to tell static analyzer that we don't care if fseek() fails
author
Yann Collet
<cyan@fb.com>
Sun, 14 Jan 2018 06:52:17 +0000
(22:52 -0800)
committer
Yann Collet
<cyan@fb.com>
Sun, 14 Jan 2018 06:52:17 +0000
(22:52 -0800)
as already explained in comments.
programs/lz4io.c
patch
|
blob
|
history
diff --git
a/programs/lz4io.c
b/programs/lz4io.c
index
3502038
..
927928a
100644
(file)
--- 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 {