Commit 0dfed5a8 authored by marko's avatar marko

branches/zip: buf_page_get_gen(): Fix a "possibly uninitialized" warning

that was introduced in r4030.
parent e75eaaba
......@@ -2096,7 +2096,8 @@ wait_until_unfixed:
fix_type = MTR_MEMO_PAGE_S_FIX;
break;
case RW_X_LATCH:
default:
ut_ad(rw_latch == RW_X_LATCH);
rw_lock_x_lock_func(&(block->lock), 0, file, line);
fix_type = MTR_MEMO_PAGE_X_FIX;
......
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