summaryrefslogtreecommitdiff
path: root/tools/lzcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/lzcomp.c')
-rw-r--r--tools/lzcomp.c2
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: