diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2018-06-15 15:38:29 +1200 |
---|---|---|
committer | Robert Ancell <robert.ancell@gmail.com> | 2018-07-30 04:07:19 +0000 |
commit | b4e081d7f964b2107cdad39390a57dd0954f2607 (patch) | |
tree | f9cbc50a821460fbe6d08493acfe9c2892782898 | |
parent | ed78a6a12057677788cde811634b18cd9710e86d (diff) | |
download | gnome-control-center-b4e081d7f964b2107cdad39390a57dd0954f2607.tar.gz |
printers: Fix branch depending on uninitialized variable
-rw-r--r-- | panels/printers/pp-printer-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/printers/pp-printer-entry.c b/panels/printers/pp-printer-entry.c index 74735461e..8907ca9d6 100644 --- a/panels/printers/pp-printer-entry.c +++ b/panels/printers/pp-printer-entry.c @@ -742,7 +742,7 @@ pp_printer_entry_new (cups_dest_t printer, { PpPrinterEntry *self; cups_ptype_t printer_type = 0; - gboolean is_accepting_jobs; + gboolean is_accepting_jobs = TRUE; gboolean ink_supply_is_empty; gchar *instance; gchar *printer_uri = NULL; |