diff options
-rw-r--r-- | plugins/samsung/mm-broadband-modem-samsung.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/samsung/mm-broadband-modem-samsung.c b/plugins/samsung/mm-broadband-modem-samsung.c index 3569d5bf..d378e16b 100644 --- a/plugins/samsung/mm-broadband-modem-samsung.c +++ b/plugins/samsung/mm-broadband-modem-samsung.c @@ -142,7 +142,7 @@ load_current_bands_ready (MMIfaceModem *self, GMatchInfo *info; GArray *bands; const gchar *response; - GError *error; + GError *error = NULL; response = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, &error); if (!response) { @@ -408,7 +408,7 @@ load_unlock_retries_ready (MMBaseModem *self, GSimpleAsyncResult *operation_result) { const gchar *response; - GError *error; + GError *error = NULL; int pin1, puk1, pin2, puk2; |