aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/ecpglib/execute.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2003-03-19 16:05:41 +0000
committerPeter Eisentraut <peter_e@gmx.net>2003-03-19 16:05:41 +0000
commit28efaf3ccd421a111a34954f531f2f9888f99242 (patch)
treebd3db2ad2ffccc3dd959b4f3f86fbd15019fc1b6 /src/interfaces/ecpg/ecpglib/execute.c
parent44a6959f4aa12a4202de309bb4a828f8d6ccbb1e (diff)
downloadpostgresql-28efaf3ccd421a111a34954f531f2f9888f99242.tar.gz
postgresql-28efaf3ccd421a111a34954f531f2f9888f99242.zip
Avoid mysterious warning about possibly uninitialized variable.
Diffstat (limited to 'src/interfaces/ecpg/ecpglib/execute.c')
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index 3ff5bf886e7..8cb3fa36a67 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1,4 +1,4 @@
-/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.2 2003/03/18 10:46:39 meskes Exp $ */
+/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.3 2003/03/19 16:05:41 petere Exp $ */
/*
* The aim is to get a simpler inteface to the database routines.
@@ -838,7 +838,7 @@ ECPGstore_input(const struct statement * stmt, const struct variable * var,
case ECPGt_numeric:
{
- char *str;
+ char *str = NULL;
int slen;
if (var->arrsize > 1)