summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi Inoue2002-04-02 10:57:25 +0000
committerHiroshi Inoue2002-04-02 10:57:25 +0000
commit2966001c77c1d7e9ccf3a7954f629218ec69bdd8 (patch)
treee61b02d6633c402fcb9abbe90e9b1572b009bd88
parentf8da3990b5437e47b7296a6770a3efd215b326d0 (diff)
Fix compiler warnings.
-rw-r--r--src/interfaces/odbc/info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/odbc/info.c b/src/interfaces/odbc/info.c
index 39fdce1f32..2dce375f78 100644
--- a/src/interfaces/odbc/info.c
+++ b/src/interfaces/odbc/info.c
@@ -2240,7 +2240,7 @@ PGAPI_Statistics(
char index_query[INFO_INQUIRY_LEN];
HSTMT hindx_stmt;
RETCODE result;
- char *table_name, *schema_name = NULL;
+ char *table_name;
char index_name[MAX_INFO_STRING];
short fields_vector[16];
char isunique[10],
@@ -4091,7 +4091,7 @@ PGAPI_TablePrivileges(
int tablecount, usercount, i, j, k;
BOOL grpauth, sys, su;
char (*useracl)[ACLMAX], *acl, *user, *delim, *auth;
- char *reln, *owner, *priv, *schnm;
+ char *reln, *owner, *priv, *schnm = NULL;
mylog("%s: entering... scnm=%x len-%d\n", func, szTableOwner, cbTableOwner);
if (!SC_recycle_statement(stmt))