Skip to content

Commit 5c04630

Browse files
author
Michael Meskes
committed
Make sure that ecpglib's statement variable has a defined value no matter what.
1 parent dfa774f commit 5c04630

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/ecpg/ecpglib/execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ ecpg_do_prologue(int lineno, const int compat, const int force_indicator,
17551755
enum ECPG_statement_type statement_type, const char *query,
17561756
va_list args, struct statement **stmt_out)
17571757
{
1758-
struct statement *stmt;
1758+
struct statement *stmt = NULL;
17591759
struct connection *con;
17601760
enum ECPGttype type;
17611761
struct variable **list;

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