Commit 210faf2d authored by Bruce Momjian's avatar Bruce Momjian

Fix a few warnings that have crept into CVS HEAD.

parent 9bf1db04
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* *
* Copyright (c) 2003-2008, PostgreSQL Global Development Group * Copyright (c) 2003-2008, PostgreSQL Global Development Group
* *
* $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.19 2008/01/01 19:45:56 momjian Exp $ * $PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.20 2008/05/14 15:16:27 momjian Exp $
*/ */
#ifndef COMMON_H #ifndef COMMON_H
#define COMMON_H #define COMMON_H
...@@ -42,4 +42,6 @@ extern bool yesno_prompt(const char *question); ...@@ -42,4 +42,6 @@ extern bool yesno_prompt(const char *question);
extern void setup_cancel_handler(void); extern void setup_cancel_handler(void);
extern char *pg_strdup(const char *string);
#endif /* COMMON_H */ #endif /* COMMON_H */
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.27 2008/05/12 16:29:04 meskes Exp $ */ /* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.28 2008/05/14 15:16:27 momjian Exp $ */
#define POSTGRES_ECPG_INTERNAL #define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h" #include "postgres_fe.h"
...@@ -117,7 +117,6 @@ ECPGprepare(int lineno, const char *connection_name, const int questionmarks, co ...@@ -117,7 +117,6 @@ ECPGprepare(int lineno, const char *connection_name, const int questionmarks, co
struct statement *stmt; struct statement *stmt;
struct prepared_statement *this, struct prepared_statement *this,
*prev; *prev;
struct sqlca_t *sqlca = ECPGget_sqlca();
PGresult *query; PGresult *query;
con = ecpg_get_connection(connection_name); con = ecpg_get_connection(connection_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment