aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/ecpg/ecpglib/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/ecpg/ecpglib/execute.c b/src/interfaces/ecpg/ecpglib/execute.c
index e25f7ebf825..4c499fb457d 100644
--- a/src/interfaces/ecpg/ecpglib/execute.c
+++ b/src/interfaces/ecpg/ecpglib/execute.c
@@ -1755,7 +1755,7 @@ ecpg_do_prologue(int lineno, const int compat, const int force_indicator,
enum ECPG_statement_type statement_type, const char *query,
va_list args, struct statement **stmt_out)
{
- struct statement *stmt;
+ struct statement *stmt = NULL;
struct connection *con;
enum ECPGttype type;
struct variable **list;