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

Commita77b862

Browse files
committed
Add dummy variable declaration to PG_FUNCTION_INFO_V1() to prevent
'empty declaration' warnings from compilers that care about such things.Per discussion back before 7.2 release; we didn't do it then becausewe'd already missed all the beta cycle ...
1 parentba963c6 commita77b862

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/include/fmgr.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
1212
* Portions Copyright (c) 1994, Regents of the University of California
1313
*
14-
* $Id: fmgr.h,v 1.25 2002/09/12 00:26:42 momjian Exp $
14+
* $Id: fmgr.h,v 1.26 2002/10/25 22:17:32 tgl Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
@@ -282,7 +282,8 @@ CppConcat(pg_finfo_,funcname) (void) \
282282
{ \
283283
static Pg_finfo_record my_finfo = { 1 }; \
284284
return &my_finfo; \
285-
}
285+
} \
286+
extern int no_such_variable
286287

287288

288289
/*-------------------------------------------------------------------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp