List:Commits« Previous MessageNext Message »
From:Dmitry Lenev Date:November 19 2010 7:41am
Subject:bzr commit into mysql-5.5-runtime branch (Dmitry.Lenev:3194)
View as plain text  
#At file:///home/dlenev/src/bzr/mysql-5.5-runtime/ based on revid:dmitry.lenev@stripped

 3194 Dmitry Lenev	2010-11-19
      Suppress false-positive uninitialized variable use
      warnings in Event_queue::get_top_for_execution_if_time()
      method which has caused -Werror build to fail.

    modified:
      sql/event_queue.cc
=== modified file 'sql/event_queue.cc'
--- a/sql/event_queue.cc	2010-11-11 17:11:05 +0000
+++ b/sql/event_queue.cc	2010-11-19 07:41:09 +0000
@@ -568,8 +568,8 @@ Event_queue::get_top_for_execution_if_ti
 {
   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();


Attachment: [text/bzr-bundle] bzr/dmitry.lenev@oracle.com-20101119074109-3p3jim0h6li0v7oi.bundle
Thread
bzr commit into mysql-5.5-runtime branch (Dmitry.Lenev:3194) Dmitry Lenev19 Nov