From: Seven Du Date: Thu, 12 Feb 2015 23:12:54 +0000 (+0800) Subject: FS-7500: fix compiler warning X-Git-Tag: v1.6.2~614^2~397 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28413190373b9eca8fde4df42da44e7bdc8cb47e;p=thirdparty%2Ffreeswitch.git FS-7500: fix compiler warning --- diff --git a/src/switch_core_video.c b/src/switch_core_video.c index 6b75d849f2..2651b6ee75 100644 --- a/src/switch_core_video.c +++ b/src/switch_core_video.c @@ -615,8 +615,8 @@ SWITCH_DECLARE(switch_image_t *) switch_img_read_png(const char* file_name) png_byte color_type; png_byte bit_depth; - png_structp png_ptr; - png_infop info_ptr; + png_structp png_ptr = NULL; + png_infop info_ptr = NULL; //int number_of_passes; int row_bytes; png_color_8p sig_bit;