mirror of
https://github.com/postgres/postgres.git
synced 2025-06-26 12:21:12 +03:00
Avoid compiler warning about variable used before assigned.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
|
* 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 "postgres_fe.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
@ -470,7 +470,7 @@ exec_command(const char *cmd,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
char *func;
|
char *func;
|
||||||
Oid foid;
|
Oid foid = InvalidOid;
|
||||||
|
|
||||||
func = psql_scan_slash_option(scan_state,
|
func = psql_scan_slash_option(scan_state,
|
||||||
OT_WHOLE_LINE, NULL, true);
|
OT_WHOLE_LINE, NULL, true);
|
||||||
|
Reference in New Issue
Block a user