summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-06-12 13:29:52 -0400
committerPeter Jones <pjones@vroomfondel.internal.datastacks.com>2008-06-12 13:29:52 -0400
commit6862500dcfdc5b7f532ef7271865557ca5631fc0 (patch)
tree434fdc8b38487a17a7ec60a1595c3a01f309e4eb /src
parentc3953c32f7fd33e0d8fbb384aa07cab509154dde (diff)
downloadplymouth-6862500dcfdc5b7f532ef7271865557ca5631fc0.tar.gz
plymouth-6862500dcfdc5b7f532ef7271865557ca5631fc0.tar.xz
plymouth-6862500dcfdc5b7f532ef7271865557ca5631fc0.zip
Fix possible unasigned value.
Diffstat (limited to 'src')
-rw-r--r--src/libply/ply-command-parser.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libply/ply-command-parser.c b/src/libply/ply-command-parser.c
index 76bd9cf..131c3af 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 = "=<integer>";
break;
+ default:
+ option_type_string = "";
+ break;
}
option_width = command->longest_option_length - strlen (option->name) +