aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-11-06 05:20:41 +0000
committerBruce Momjian <bruce@momjian.us>2004-11-06 05:20:41 +0000
commit86100de856d4ab50e402bd3a01c100be60fa62ff (patch)
treefcacc0d34aa8258d7c24efda14d1f49431962688 /src/bin/psql/command.c
parent7ba377431efad1466d214eb11b50c3791d5f06a5 (diff)
downloadpostgresql-86100de856d4ab50e402bd3a01c100be60fa62ff.tar.gz
postgresql-86100de856d4ab50e402bd3a01c100be60fa62ff.zip
Variable initializer no longer necessary.
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index e1a76001ed1..727f8c86a6c 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -3,7 +3,7 @@
*
* 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 "command.h"
@@ -1539,7 +1539,7 @@ do_shell(const char *command)
if (!command)
{
char *sys;
- const char *shellName = NULL;
+ const char *shellName;
shellName = getenv("SHELL");
#ifdef WIN32