From 0b9437951c552a63e4a42581128189ed96534d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lindstr=C3=B6m?= Date: Wed, 20 Sep 2017 09:56:45 +0300 Subject: MDEV-13850: Uninitialized variable at wsrep_binlog.cc:455 --- sql/wsrep_binlog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/wsrep_binlog.cc') diff --git a/sql/wsrep_binlog.cc b/sql/wsrep_binlog.cc index b6aee3a74ab..998f4e72157 100644 --- a/sql/wsrep_binlog.cc +++ b/sql/wsrep_binlog.cc @@ -452,7 +452,7 @@ void wsrep_dump_rbr_buf_with_header(THD *thd, const void *rbr_buf, File file; IO_CACHE cache; Log_event_writer writer(&cache); - Format_description_log_event *ev; + Format_description_log_event *ev=NULL; int len= my_snprintf(filename, PATH_MAX, "%s/GRA_%ld_%lld_v2.log", wsrep_data_home_dir, thd->thread_id, -- cgit v1.2.1