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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy