diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2008-09-15 12:18:00 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2008-09-15 12:18:00 +0000 |
commit | b850cf61bd5fc4822cf9e73bf28b3261786f6e0b (patch) | |
tree | a94593f98d6dfd325f6809731cc4a84cb9270d68 | |
parent | 5a1d35ce5c25f3879be6b8176cab0dba36e77ba0 (diff) | |
download | postgresql-b850cf61bd5fc4822cf9e73bf28b3261786f6e0b.tar.gz postgresql-b850cf61bd5fc4822cf9e73bf28b3261786f6e0b.zip |
Avoid compiler warning about variable used before assigned.
-rw-r--r-- | src/bin/psql/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 3089c69d108..d71879490cb 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.195 2008/09/06 20:18:08 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.196 2008/09/15 12:18:00 petere Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -470,7 +470,7 @@ exec_command(const char *cmd, else { char *func; - Oid foid; + Oid foid = InvalidOid; func = psql_scan_slash_option(scan_state, OT_WHOLE_LINE, NULL, true); |