summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Collet <cyan@fb.com>2020-11-14 12:44:18 -0800
committerYann Collet <cyan@fb.com>2020-11-14 12:44:18 -0800
commitbe13653ad06f236bec8e05de5578209185c4c8c7 (patch)
tree98b11bf6186d34feb7983cee5b31a0066d97c782
parent36eadb205ae1fda0d92b9e4c0c1eb1ee79e7b943 (diff)
downloadlz4-be13653ad06f236bec8e05de5578209185c4c8c7.tar.gz
lz4-be13653ad06f236bec8e05de5578209185c4c8c7.tar.bz2
lz4-be13653ad06f236bec8e05de5578209185c4c8c7.zip
fix minor parse warning
-rw-r--r--programs/lz4io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/lz4io.c b/programs/lz4io.c
index 4c4678c..a274798 100644
--- a/programs/lz4io.c
+++ b/programs/lz4io.c
@@ -365,7 +365,7 @@ static FILE* LZ4IO_openDstFile(const char* dstFileName, const LZ4IO_prefs_t* con
/* sparse file */
{ int const sparseMode = (prefs->sparseFileSupport - (f==stdout)) > 0;
- if (f && sparseMode) SET_SPARSE_FILE_MODE(f);
+ if (f && sparseMode) { SET_SPARSE_FILE_MODE(f); }
}
return f;