iface-modem-cdma: fix use of uninitialized variable

This commit is contained in:
Aleksander Morgado
2013-03-22 08:17:48 +01:00
parent 215255d325
commit 14bb687b94

View File

@@ -1212,7 +1212,7 @@ mm_iface_modem_cdma_update_activation_state (MMIfaceModemCdma *self,
const GError *activation_error) const GError *activation_error)
{ {
MmGdbusModemCdma *skeleton = NULL; MmGdbusModemCdma *skeleton = NULL;
MMCdmaActivationError error; MMCdmaActivationError error = MM_CDMA_ACTIVATION_ERROR_NONE;
g_object_get (self, g_object_get (self,
MM_IFACE_MODEM_CDMA_DBUS_SKELETON, &skeleton, MM_IFACE_MODEM_CDMA_DBUS_SKELETON, &skeleton,