From: William King Date: Thu, 20 Oct 2016 01:32:38 +0000 (-0700) Subject: FS-9650 initialize pointer to NULL to resolve warning X-Git-Tag: v1.8.0~1176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6dac2b5ff46bf95f9df4d6f553554a561ed15847;p=thirdparty%2Ffreeswitch.git FS-9650 initialize pointer to NULL to resolve warning --- diff --git a/src/switch_core.c b/src/switch_core.c index d19bc75ed2..6296102d41 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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);