[gnome-control-center] printers: Fix branch depending on uninitialized variable
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Fix branch depending on uninitialized variable
- Date: Mon, 30 Jul 2018 06:46:31 +0000 (UTC)
commit b4e081d7f964b2107cdad39390a57dd0954f2607
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Jun 15 15:38:29 2018 +1200
printers: Fix branch depending on uninitialized variable
panels/printers/pp-printer-entry.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]