summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/event_queue.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/event_queue.cc b/sql/event_queue.cc
index 92b8a2c9071..bdc8fa258a8 100644
--- a/sql/event_queue.cc
+++ b/sql/event_queue.cc
@@ -568,8 +568,8 @@ Event_queue::get_top_for_execution_if_time(THD *thd,
{
bool ret= FALSE;
*event_name= NULL;
- my_time_t last_executed;
- int status;
+ my_time_t UNINIT_VAR(last_executed);
+ int UNINIT_VAR(status);
DBUG_ENTER("Event_queue::get_top_for_execution_if_time");
LOCK_QUEUE_DATA();