[Commits] Rev 3581: Fix compiler warnings that breaks build (-Werror). in http://bazaar.launchpad.net/~maria-captains/maria/5.3

knielsen at knielsen-hq.org knielsen at knielsen-hq.org
Fri Sep 28 10:54:44 EEST 2012


At http://bazaar.launchpad.net/~maria-captains/maria/5.3

------------------------------------------------------------
revno: 3581
revision-id: knielsen at knielsen-hq.org-20120928075443-8bygto4wb3pj0nvs
parent: sergii at pisem.net-20120927130217-m99c0gtifspbdvsk
committer: knielsen at knielsen-hq.org
branch nick: mariadb-5.3
timestamp: Fri 2012-09-28 09:54:43 +0200
message:
  Fix compiler warnings that breaks build (-Werror).
=== modified file 'sql/sql_show.cc'
--- a/sql/sql_show.cc	2012-09-27 08:18:07 +0000
+++ b/sql/sql_show.cc	2012-09-28 07:54:43 +0000
@@ -568,8 +568,7 @@ ignore_db_dirs_process_additions()
     if (skip_ignored_dir_check)
     {
       char buff[FN_REFLEN];
-      uint buff_len;
-      buff_len= tablename_to_filename(dir->str, buff, sizeof(buff));
+      (void) tablename_to_filename(dir->str, buff, sizeof(buff));
       skip_ignored_dir_check= strcmp(dir->str, buff) != 0;
     }
   }



More information about the commits mailing list