Commit 286acaa7 authored by Sergei Golubchik's avatar Sergei Golubchik Committed by Marko Mäkelä

maintainer mode: build with -Wmissing-braces

parent 51fc1ad8
......@@ -27,6 +27,7 @@ SET(MY_WARNING_FLAGS
-Wenum-conversion
-Wextra
-Wformat-security
-Wmissing-braces
-Wno-format-truncation
-Wno-init-self
-Wno-nonnull-compare
......
......@@ -3131,10 +3131,10 @@ static const Rdb_collation_codec *rdb_init_collation_mapping(
}
}
cur->m_make_unpack_info_func = {Rdb_key_def::make_unpack_simple_varchar,
Rdb_key_def::make_unpack_simple};
cur->m_unpack_func = {Rdb_key_def::unpack_simple_varchar_space_pad,
Rdb_key_def::unpack_simple};
cur->m_make_unpack_info_func = {{Rdb_key_def::make_unpack_simple_varchar,
Rdb_key_def::make_unpack_simple}};
cur->m_unpack_func = {{Rdb_key_def::unpack_simple_varchar_space_pad,
Rdb_key_def::unpack_simple}};
} else {
// Out of luck for now.
}
......
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