From: Peter Jones Date: Thu, 12 Jun 2008 17:29:52 +0000 (-0400) Subject: Fix possible unasigned value. X-Git-Tag: 0.3.2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6862500dcfdc5b7f532ef7271865557ca5631fc0;p=thirdparty%2Fplymouth.git Fix possible unasigned value. --- diff --git a/src/libply/ply-command-parser.c b/src/libply/ply-command-parser.c index 76bd9cf6..131c3afa 100644 --- a/src/libply/ply-command-parser.c +++ b/src/libply/ply-command-parser.c @@ -193,6 +193,9 @@ append_command_options_to_buffer (ply_command_parser_t *parser, case PLY_COMMAND_OPTION_TYPE_INTEGER: option_type_string = "="; break; + default: + option_type_string = ""; + break; } option_width = command->longest_option_length - strlen (option->name) +