diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-02-16 16:24:47 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2019-02-16 16:24:47 -0500 |
commit | 1e5c95d8d42d5cf4e13afd204a3d6e18e5c030bb (patch) | |
tree | ca7c38b740f608dc8a904b3356eaeabfbb0cb91b /tools/lzcomp.c | |
parent | 2449a17addb1e720b2d2190060bb5acea8b2859a (diff) |
Silence gcc warnings, even in Travis
-Wno-missing-field-initializers is needed because of false positives over {0} initialization
Diffstat (limited to 'tools/lzcomp.c')
-rw-r--r-- | tools/lzcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lzcomp.c b/tools/lzcomp.c index f2669aef8..562a5ec08 100644 --- a/tools/lzcomp.c +++ b/tools/lzcomp.c @@ -128,7 +128,7 @@ void write_commands_to_textfile (const char * file, const struct command * comma void write_command_to_textfile (FILE * fp, struct command command, const unsigned char * input_stream) { if ((!command.count) || (command.count > 1024)) error_exit(2, "invalid command in output stream"); - int rv, pos; + int rv = -1, pos; const char * kind; switch (command.command) { case 0: |