Commit a1680150 authored by John Esmet's avatar John Esmet

FT-304 Fix a maybe-uninitialized warning found by gcc 4.9

parent 465cca90
......@@ -882,6 +882,8 @@ int block_table::iterate(enum translation_type type,
}
struct translation fakecurrent;
memset(&fakecurrent, 0, sizeof(struct translation));
struct translation *t = &fakecurrent;
if (r == 0) {
_mutex_lock();
......
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