]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
potentially uninitialized variable
authorMichael Jerris <mike@jerris.com>
Tue, 1 May 2007 22:59:32 +0000 (22:59 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 1 May 2007 22:59:32 +0000 (22:59 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5058 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_odbc.c

index 127362b3d1af73cfcc7f42f0ec51cc8c57988df6..7bee2763bced75ce63dfffff0d569dd877333bae 100644 (file)
@@ -168,7 +168,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_connect(switch_odbc_hand
 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;