mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03: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:
@@ -1013,6 +1013,7 @@ trx_i_s_common_fill_table(
|
|||||||
see http://bugs.mysql.com/29900 ; when that bug is resolved
|
see http://bugs.mysql.com/29900 ; when that bug is resolved
|
||||||
we can enable the DBUG_RETURN(ret) above */
|
we can enable the DBUG_RETURN(ret) above */
|
||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
|
ret++; // silence a gcc46 warning
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user