Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2966001

Browse files
author
Hiroshi Inoue
committed
Fix compiler warnings.
1 parent f8da399 commit 2966001

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/odbc/info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,7 +2240,7 @@ PGAPI_Statistics(
22402240
char index_query[INFO_INQUIRY_LEN];
22412241
HSTMT hindx_stmt;
22422242
RETCODE result;
2243-
char *table_name, *schema_name = NULL;
2243+
char *table_name;
22442244
char index_name[MAX_INFO_STRING];
22452245
short fields_vector[16];
22462246
char isunique[10],
@@ -4091,7 +4091,7 @@ PGAPI_TablePrivileges(
40914091
int tablecount, usercount, i, j, k;
40924092
BOOL grpauth, sys, su;
40934093
char (*useracl)[ACLMAX], *acl, *user, *delim, *auth;
4094-
char *reln, *owner, *priv, *schnm;
4094+
char *reln, *owner, *priv, *schnm = NULL;
40954095

40964096
mylog("%s: entering... scnm=%x len-%d\n", func, szTableOwner, cbTableOwner);
40974097
if (!SC_recycle_statement(stmt))

0 commit comments

Comments
 (0)