From b7b890fdb2d7d11c3dc41a0cdc364e96836fb684 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 28 May 2009 10:02:22 -0500 Subject: [PATCH] Squash gcc warning about uninitialized use of v --- src/voicecall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/voicecall.c b/src/voicecall.c index 8318143a..5b6f94a2 100644 --- a/src/voicecall.c +++ b/src/voicecall.c @@ -1236,7 +1236,7 @@ void ofono_voicecall_notify(struct ofono_modem *modem, const struct ofono_call * { GSList *l; struct voicecalls_data *calls = modem->voicecalls; - struct voicecall *v; + struct voicecall *v = NULL; struct ofono_call *newcall = NULL; ofono_debug("Got a voicecall event, status: %d, id: %u, number: %s",