]> git.saurik.com Git - wxWidgets.git/blobdiff - src/iodbc/info.c
Changed the "delete win" to the more proper "win->Destroy()" in
[wxWidgets.git] / src / iodbc / info.c
index 800418487f9a3bd927f1e91274597db85a78ef13..600bcc6a3a7f03061ecc05160a7c3c7a0b80fd94 100644 (file)
@@ -27,6 +27,9 @@
 
 #include       <../iodbc/itrace.h>
 
 
 #include       <../iodbc/itrace.h>
 
+#include        <strings.h>
+#include        <stdio.h>
+
 RETCODE SQL_API        SQLDataSources( 
                        HENV            henv,
                        UWORD           fDir,
 RETCODE SQL_API        SQLDataSources( 
                        HENV            henv,
                        UWORD           fDir,
@@ -118,7 +121,7 @@ RETCODE SQL_API     SQLGetInfo(
        HPROC           hproc;
        RETCODE         retcode = SQL_SUCCESS;
 
        HPROC           hproc;
        RETCODE         retcode = SQL_SUCCESS;
 
-       DWORD           dword;
+       DWORD           dword = 0;
        int             size = 0, len = 0;
        char            buf[16] = { '\0' };
 
        int             size = 0, len = 0;
        char            buf[16] = { '\0' };