Fix the use of uninitialized variables.

This commit is contained in:
Tambet Ingo
2009-03-27 09:10:23 +02:00
parent 45f32e7e09
commit 83ba035aad

View File

@@ -182,12 +182,12 @@ impl_gsm_modem_sms_send (MMModemGsmSms *modem,
DBusGMethodInvocation *context) DBusGMethodInvocation *context)
{ {
GValue *value; GValue *value;
const char *number; const char *number = NULL;
const char *text; const char *text = NULL ;
const char *smsc; const char *smsc = NULL;
GError *error = NULL; GError *error = NULL;
guint validity; guint validity = 0;
guint class; guint class = 0;
value = (GValue *) g_hash_table_lookup (properties, "number"); value = (GValue *) g_hash_table_lookup (properties, "number");
if (value) if (value)