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)
{
GValue *value;
const char *number;
const char *text;
const char *smsc;
const char *number = NULL;
const char *text = NULL ;
const char *smsc = NULL;
GError *error = NULL;
guint validity;
guint class;
guint validity = 0;
guint class = 0;
value = (GValue *) g_hash_table_lookup (properties, "number");
if (value)