diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-30 23:46:58 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-08-30 23:46:58 +0200 |
commit | b288b26718dc95f86fe28eb740b18c0f91f72336 (patch) | |
tree | c06088ecae9a897a3533289c78e92a242fe9f4d4 | |
parent | ff1a175035206fa092ad603327455c296cde3f5c (diff) |
icera: fix error handling in loading supported/current bands
-rw-r--r-- | plugins/icera/mm-broadband-modem-icera.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/icera/mm-broadband-modem-icera.c b/plugins/icera/mm-broadband-modem-icera.c index 2611b907..e429a2f2 100644 --- a/plugins/icera/mm-broadband-modem-icera.c +++ b/plugins/icera/mm-broadband-modem-icera.c @@ -1100,7 +1100,7 @@ load_supported_bands_get_bands_ready (MMIfaceModem *self, { SupportedBandsContext *ctx; const gchar *response; - GError *error; + GError *error = NULL; GSList *iter; guint32 len = 0, i; @@ -1184,7 +1184,7 @@ load_current_bands_ready (MMIfaceModem *self, { GArray *bands; const gchar *response; - GError *error; + GError *error = NULL; GSList *parsed, *iter; guint32 len = 0; |