summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-05-28 10:02:22 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-05-28 10:03:44 -0500
commitb7b890fdb2d7d11c3dc41a0cdc364e96836fb684 (patch)
tree99d3fc535315c3e8fde2d55e42db8c2a09755cee /src
parentb028585d07c10df99a236904fa7a9f1fe0227b42 (diff)
downloadofono-b7b890fdb2d7d11c3dc41a0cdc364e96836fb684.tar.bz2
Squash gcc warning about uninitialized use of v
Diffstat (limited to 'src')
-rw-r--r--src/voicecall.c2
1 files changed, 1 insertions, 1 deletions
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",