]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Shut up MikeJ's code analyzer
authorMathieu Rene <mrene@avgs.ca>
Thu, 5 Mar 2009 05:50:11 +0000 (05:50 +0000)
committerMathieu Rene <mrene@avgs.ca>
Thu, 5 Mar 2009 05:50:11 +0000 (05:50 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12452 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_xml_config.c

index 27be72fe52b7ad309731c664a3ef77bec576d0f2..f02edfbc0206b86c57635df0939bf080abfbe596 100644 (file)
@@ -132,7 +132,7 @@ SWITCH_DECLARE(switch_status_t) switch_xml_config_parse(switch_xml_t xml, int re
                                {
                                        switch_xml_config_enum_item_t *enum_options = (switch_xml_config_enum_item_t*)item->data;
                                        int *dest = (int*)item->ptr;
-                                       int newval;
+                                       int newval = 0;
                                        
                                        if (value) {
                                                for (;enum_options->key; enum_options++) {