]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-9650 initialize pointer to NULL to resolve warning
authorWilliam King <william.king@quentustech.com>
Thu, 20 Oct 2016 01:32:38 +0000 (18:32 -0700)
committerWilliam King <william.king@quentustech.com>
Thu, 20 Oct 2016 01:32:38 +0000 (18:32 -0700)
src/switch_core.c

index d19bc75ed246be9e1702ac2acde0545a4a1390df..6296102d412df61d0c65946cb2a408a6fc2aed82 100644 (file)
@@ -491,7 +491,7 @@ static void *SWITCH_THREAD_FUNC switch_core_service_thread(switch_thread_t *thre
 {
        switch_core_session_t *session = obj;
        switch_channel_t *channel;
-       switch_frame_t *read_frame;
+       switch_frame_t *read_frame = NULL;
 
 //  switch_assert(thread != NULL);
 //  switch_assert(session != NULL);