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

Commitb875b59

Browse files
author
Thomas G. Lockhart
committed
Initialize or set a couple of variables to suppress compiler warnings.
These were for cases protected by elog(ERROR) exits, but may as well keep the compiler happy. Not sure why they don't show up on my gcc-2.96.x version of the compiler.
1 parent67ef699 commitb875b59

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/commands/variable.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.62 2002/04/2119:12:46 thomas Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.63 2002/04/2121:35:17 thomas Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -259,7 +259,7 @@ parse_datestyle_internal(char *value)
259259
staticbool
260260
parse_datestyle(List*args)
261261
{
262-
intrstat;
262+
intrstat= FALSE;
263263
List*arg;
264264
char*value;
265265

@@ -295,6 +295,7 @@ parse_datestyle(List *args)
295295
else
296296
{
297297
elog(ERROR,"SET DATESTYLE argument is not valid");
298+
value=NULL;
298299
}
299300

300301
rstat=parse_datestyle_internal(value);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp