Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b850cf6

Browse files
committed
Avoid compiler warning about variable used before assigned.
1 parent 5a1d35c commit b850cf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/command.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.195 2008/09/06 20:18:08 tgl Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.196 2008/09/15 12:18:00 petere Exp $
77
*/
88
#include "postgres_fe.h"
99
#include "command.h"
@@ -470,7 +470,7 @@ exec_command(const char *cmd,
470470
else
471471
{
472472
char *func;
473-
Oid foid;
473+
Oid foid = InvalidOid;
474474

475475
func = psql_scan_slash_option(scan_state,
476476
OT_WHOLE_LINE, NULL, true);

0 commit comments

Comments
 (0)