Variable initializer no longer necessary.
This commit is contained in:
parent
7ba377431e
commit
86100de856
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
|
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.131 2004/11/06 04:29:40 momjian Exp $
|
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.132 2004/11/06 05:20:41 momjian Exp $
|
||||||
*/
|
*/
|
||||||
#include "postgres_fe.h"
|
#include "postgres_fe.h"
|
||||||
#include "command.h"
|
#include "command.h"
|
||||||
@ -1539,7 +1539,7 @@ do_shell(const char *command)
|
|||||||
if (!command)
|
if (!command)
|
||||||
{
|
{
|
||||||
char *sys;
|
char *sys;
|
||||||
const char *shellName = NULL;
|
const char *shellName;
|
||||||
|
|
||||||
shellName = getenv("SHELL");
|
shellName = getenv("SHELL");
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
|
Loading…
x
Reference in New Issue
Block a user