Commit 28efaf3c authored by Peter Eisentraut's avatar Peter Eisentraut

Avoid mysterious warning about possibly uninitialized variable.

parent 44a6959f
/* $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. * 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, ...@@ -838,7 +838,7 @@ ECPGstore_input(const struct statement * stmt, const struct variable * var,
case ECPGt_numeric: case ECPGt_numeric:
{ {
char *str; char *str = NULL;
int slen; int slen;
if (var->arrsize > 1) if (var->arrsize > 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment