aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-08-30 23:46:58 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-08-30 23:46:58 +0200
commitb288b26718dc95f86fe28eb740b18c0f91f72336 (patch)
treec06088ecae9a897a3533289c78e92a242fe9f4d4
parentff1a175035206fa092ad603327455c296cde3f5c (diff)
icera: fix error handling in loading supported/current bands
-rw-r--r--plugins/icera/mm-broadband-modem-icera.c4
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;