summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/pgsql/pgsql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c
index 9e2b278857..8b3fa87a84 100644
--- a/ext/pgsql/pgsql.c
+++ b/ext/pgsql/pgsql.c
@@ -1501,7 +1501,7 @@ PHP_FUNCTION(pg_trace)
int id = -1;
PGconn *pgsql;
char *mode = "w";
- FILE *fp;
+ FILE *fp = NULL;
php_stream *stream;
id = PGG(default_link);