Skip to content
Snippets Groups Projects
Commit a65c5355 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

Suppress compile warnings in RelWithDebugInfo mode.

parent 27b60c04
No related branches found
No related tags found
No related merge requests found
...@@ -197,6 +197,7 @@ key_def_new_from_tuple(struct tuple *tuple) ...@@ -197,6 +197,7 @@ key_def_new_from_tuple(struct tuple *tuple)
for (uint32_t i = 0; i < part_count; i++) { for (uint32_t i = 0; i < part_count; i++) {
uint32_t part_array_len = mp_decode_array(&parts); uint32_t part_array_len = mp_decode_array(&parts);
assert(part_array_len >= 2); assert(part_array_len >= 2);
(void) part_array_len;
uint32_t fieldno = mp_decode_uint(&parts); uint32_t fieldno = mp_decode_uint(&parts);
uint32_t len; uint32_t len;
const char *field_type_str; const char *field_type_str;
......
...@@ -641,6 +641,7 @@ mp_tuple_assert(const char *tuple, const char *tuple_end) ...@@ -641,6 +641,7 @@ mp_tuple_assert(const char *tuple, const char *tuple_end)
assert(mp_typeof(*tuple) == MP_ARRAY); assert(mp_typeof(*tuple) == MP_ARRAY);
mp_next(&tuple); mp_next(&tuple);
assert(tuple == tuple_end); assert(tuple == tuple_end);
(void) tuple_end;
} }
static inline uint32_t static inline uint32_t
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment