Commit 1a86ae17 authored by marko's avatar marko

branches/zip: page_zip_set_size(): Fix a g++ 4.3.2 warning

about an empty body in a "for" statement.  This closes Issue #176.
parent 732f9dd7
...@@ -144,7 +144,8 @@ page_zip_set_size( ...@@ -144,7 +144,8 @@ page_zip_set_size(
ut_ad(ut_is_2pow(size)); ut_ad(ut_is_2pow(size));
for (ssize = 1; size > (ulint) (512 << ssize); ssize++); for (ssize = 1; size > (ulint) (512 << ssize); ssize++) {
}
page_zip->ssize = ssize; page_zip->ssize = ssize;
} else { } else {
......
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