Skip to content

Commit 28efaf3

Browse files
committed
Avoid mysterious warning about possibly uninitialized variable.
1 parent 44a6959 commit 28efaf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/ecpg/ecpglib/execute.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.2 2003/03/18 10:46:39 meskes Exp $ */
1+
/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/ecpglib/execute.c,v 1.3 2003/03/19 16:05:41 petere Exp $ */
22

33
/*
44
* 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,
838838

839839
case ECPGt_numeric:
840840
{
841-
char *str;
841+
char *str = NULL;
842842
int slen;
843843

844844
if (var->arrsize > 1)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy