mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Initialize or set a couple of variables to suppress compiler warnings.
These were for cases protected by elog(ERROR) exits, but may as well keep the compiler happy. Not sure why they don't show up on my gcc-2.96.x version of the compiler.
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.62 2002/04/21 19:12:46 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.63 2002/04/21 21:35:17 thomas Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -259,7 +259,7 @@ parse_datestyle_internal(char *value)
|
||||
static bool
|
||||
parse_datestyle(List *args)
|
||||
{
|
||||
int rstat;
|
||||
int rstat = FALSE;
|
||||
List *arg;
|
||||
char *value;
|
||||
|
||||
@ -295,6 +295,7 @@ parse_datestyle(List *args)
|
||||
else
|
||||
{
|
||||
elog(ERROR, "SET DATESTYLE argument is not valid");
|
||||
value = NULL;
|
||||
}
|
||||
|
||||
rstat = parse_datestyle_internal(value);
|
||||
|
Reference in New Issue
Block a user