aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2014-01-07 11:41:59 +0100
committerDan Williams <dcbw@redhat.com>2014-01-07 09:40:05 -0600
commit84bdcb04ed076a8c32a6e7146922e8bdded930c2 (patch)
tree0ae862ee77e5041ead513e140d99a39d09d1f17b /plugins
parent1601069e50b9cf2d2d22cf44245bee042c35f150 (diff)
trivial: resolve maybe-uninitialized warnings
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/huawei/mm-broadband-modem-huawei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/huawei/mm-broadband-modem-huawei.c b/plugins/huawei/mm-broadband-modem-huawei.c
index 80c8e7b1..695b9274 100644
--- a/plugins/huawei/mm-broadband-modem-huawei.c
+++ b/plugins/huawei/mm-broadband-modem-huawei.c
@@ -793,7 +793,7 @@ load_current_bands_finish (MMIfaceModem *self,
GError **error)
{
const gchar *response;
- GArray *bands_array;
+ GArray *bands_array = NULL;
response = mm_base_modem_at_command_finish (MM_BASE_MODEM (self), res, error);
if (!response)