OSDN Git Service

Silence warning
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Nov 2000 11:09:32 +0000 (11:09 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 26 Nov 2000 11:09:32 +0000 (11:09 +0000)
src/bin/psql/command.c

index 55914cb..b17d37b 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright 2000 by PostgreSQL Global Development Group
  *
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.39 2000/11/25 06:21:54 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.40 2000/11/26 11:09:32 petere Exp $
  */
 #include "postgres.h"
 #include "command.h"
@@ -1395,7 +1395,7 @@ static bool
 do_edit(const char *filename_arg, PQExpBuffer query_buf)
 {
        char            fnametmp[MAXPGPATH];
-       FILE       *stream;
+       FILE       *stream = NULL;
        const char *fname;
        bool            error = false;
        int                     fd;