Commit cf481a46 authored by Vasil Dimov's avatar Vasil Dimov

(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6

Fix compiler warning:

storage/innobase/include/ut0rnd.ic:70:8: error: variable 'n_bits' set but not used [-Werror=unused-but-set-variable]
parent 7f36cd6c
...@@ -67,9 +67,6 @@ ut_rnd_gen_ulint(void) ...@@ -67,9 +67,6 @@ ut_rnd_gen_ulint(void)
/* out: the 'random' number */ /* out: the 'random' number */
{ {
ulint rnd; ulint rnd;
ulint n_bits;
n_bits = 8 * sizeof(ulint);
ut_rnd_ulint_counter = UT_RND1 * ut_rnd_ulint_counter + UT_RND2; ut_rnd_ulint_counter = UT_RND1 * ut_rnd_ulint_counter + UT_RND2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment