summaryrefslogtreecommitdiff
path: root/sql/event_queue.cc
diff options
context:
space:
mode:
authorDmitry Lenev <Dmitry.Lenev@oracle.com>2010-11-19 10:41:09 +0300
committerDmitry Lenev <Dmitry.Lenev@oracle.com>2010-11-19 10:41:09 +0300
commitce16c4fb3c29778a651b5e041a5e74f43ca42182 (patch)
tree0c482e4a2e1e3d3a64913c3e51b1f86ad4ba97f2 /sql/event_queue.cc
parent602a22259e5e6e7c6f8f43ec31b81368f04182a3 (diff)
downloadmariadb-git-ce16c4fb3c29778a651b5e041a5e74f43ca42182.tar.gz
Suppress false-positive uninitialized variable use
warnings in Event_queue::get_top_for_execution_if_time() method which has caused -Werror build to fail.
Diffstat (limited to 'sql/event_queue.cc')
-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();