Content-Length: 273269 | pFad | http://github.com/postgrespro/postgres/commit/b850cf61bd5fc4822cf9e73bf28b3261786f6e0b

36 Avoid compiler warning about variable used before assigned. · postgrespro/postgres@b850cf6 · GitHub
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

Lines changed: 2 additions & 2 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b850cf61bd5fc4822cf9e73bf28b3261786f6e0b

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy