mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: handler/i_s.cc: In function 'int trx_i_s_common_fill_table(THD*, TABLE_LIST*, COND*)': handler/i_s.cc:931:8: error: variable 'ret' set but not used [-Werror=unused-but-set-variable]
This commit is contained in:
parent
3afaeb8895
commit
ceb87e20d9
1 changed files with 1 additions and 0 deletions
|
@ -1013,6 +1013,7 @@ trx_i_s_common_fill_table(
|
|||
see http://bugs.mysql.com/29900 ; when that bug is resolved
|
||||
we can enable the DBUG_RETURN(ret) above */
|
||||
DBUG_RETURN(0);
|
||||
ret++; // silence a gcc46 warning
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue