diff options
author | Bruce Momjian | 2008-05-14 15:16:27 +0000 |
---|---|---|
committer | Bruce Momjian | 2008-05-14 15:16:27 +0000 |
commit | 1b786c97f34d76301919829f7ed340cd62f63db6 (patch) | |
tree | da95b0dba2de7fdd0f4274470e7ae3804db13f59 | |
parent | d2b20a64172890f147c5ebac96d55407665afc62 (diff) |
Fix a few warnings that have crept into CVS HEAD.
-rw-r--r-- | src/bin/scripts/common.h | 2 | ||||
-rw-r--r-- | src/interfaces/ecpg/ecpglib/prepare.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/scripts/common.h b/src/bin/scripts/common.h index 75e1bc94e6..f965620bdc 100644 --- a/src/bin/scripts/common.h +++ b/src/bin/scripts/common.h @@ -42,4 +42,6 @@ extern bool yesno_prompt(const char *question); extern void setup_cancel_handler(void); +extern char *pg_strdup(const char *string); + #endif /* COMMON_H */ diff --git a/src/interfaces/ecpg/ecpglib/prepare.c b/src/interfaces/ecpg/ecpglib/prepare.c index f20c7e7bad..f09910f464 100644 --- a/src/interfaces/ecpg/ecpglib/prepare.c +++ b/src/interfaces/ecpg/ecpglib/prepare.c @@ -117,7 +117,6 @@ ECPGprepare(int lineno, const char *connection_name, const int questionmarks, co struct statement *stmt; struct prepared_statement *this, *prev; - struct sqlca_t *sqlca = ECPGget_sqlca(); PGresult *query; con = ecpg_get_connection(connection_name); |