[Freeswitch-svn] [commit] r5058 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Tue May 1 18:59:32 EDT 2007


Author: mikej
Date: Tue May  1 18:59:32 2007
New Revision: 5058

Modified:
   freeswitch/trunk/src/switch_odbc.c

Log:
potentially uninitialized variable

Modified: freeswitch/trunk/src/switch_odbc.c
==============================================================================
--- freeswitch/trunk/src/switch_odbc.c	(original)
+++ freeswitch/trunk/src/switch_odbc.c	Tue May  1 18:59:32 2007
@@ -168,7 +168,7 @@
 static int db_is_up(switch_odbc_handle_t *handle)
 {
 	int ret = 0;
-	SQLHSTMT stmt;
+	SQLHSTMT stmt = NULL;
 	SQLINTEGER m = 0;
 	int result;
 	switch_event_t *event;



More information about the Freeswitch-svn mailing list