Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit210faf2

Browse files
committed
Fix a few warnings that have crept into CVS HEAD.
1 parent9bf1db0 commit210faf2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎src/bin/scripts/common.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
*Copyright (c) 2003-2008, PostgreSQL Global Development Group
66
*
7-
*$PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.19 2008/01/01 19:45:56 momjian Exp $
7+
*$PostgreSQL: pgsql/src/bin/scripts/common.h,v 1.20 2008/05/14 15:16:27 momjian Exp $
88
*/
99
#ifndefCOMMON_H
1010
#defineCOMMON_H
@@ -42,4 +42,6 @@ extern bool yesno_prompt(const char *question);
4242

4343
externvoidsetup_cancel_handler(void);
4444

45+
externchar*pg_strdup(constchar*string);
46+
4547
#endif/* COMMON_H */

‎src/interfaces/ecpg/ecpglib/prepare.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.27 2008/05/1216:29:04 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/prepare.c,v 1.28 2008/05/14 15:16:27 momjian Exp $ */
22

33
#definePOSTGRES_ECPG_INTERNAL
44
#include"postgres_fe.h"
@@ -117,7 +117,6 @@ ECPGprepare(int lineno, const char *connection_name, const int questionmarks, co
117117
structstatement*stmt;
118118
structprepared_statement*this,
119119
*prev;
120-
structsqlca_t*sqlca=ECPGget_sqlca();
121120
PGresult*query;
122121

123122
con=ecpg_get_connection(connection_name);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp