diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-05-08 21:47:34 -0400 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-05-08 21:47:34 -0400 |
commit | d0f469a7cdd25cc2a94fbff2ea8ffe4aee541f73 (patch) | |
tree | 81eb3b2099dc9875b487948640c0df13d5d78091 /tools | |
parent | f4f96318978baec0b903dfc25c761fffb663e9ae (diff) | |
download | cups-d0f469a7cdd25cc2a94fbff2ea8ffe4aee541f73.tar.gz |
Another clang warning...
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ippeveprinter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/ippeveprinter.c b/tools/ippeveprinter.c index 4f3a89161..7892d656f 100644 --- a/tools/ippeveprinter.c +++ b/tools/ippeveprinter.c @@ -7430,8 +7430,8 @@ show_supplies( num_supply; /* Number of supplies */ ipp_attribute_t *supply, /* printer-supply attribute */ *supply_desc; /* printer-supply-description attribute */ - int num_options; /* Number of form options */ - cups_option_t *options; /* Form options */ + int num_options = 0; /* Number of form options */ + cups_option_t *options = NULL; /* Form options */ int supply_len, /* Length of supply value */ level; /* Supply level */ const char *supply_value; /* Supply value */ @@ -7498,8 +7498,6 @@ show_supplies( if (printer->web_forms) num_options = parse_options(client, &options); - else - num_options = 0; if (num_options > 0) { |