Skip to content

Commit

Permalink
test: Fix warnings in rust_test_helpers.c
Browse files Browse the repository at this point in the history
  • Loading branch information
petrochenkov committed May 6, 2020
1 parent 1836e3b commit 8e76663
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/auxiliary/rust_test_helpers.c
Expand Up @@ -368,6 +368,7 @@ rust_dbg_unpack_option_u64(struct U8TaggedEnumOptionU64 o, uint64_t *into) {
return 0;
default:
assert(0 && "unexpected tag");
return 0;
}
}

Expand Down Expand Up @@ -411,5 +412,6 @@ rust_dbg_unpack_option_u64u64(struct U8TaggedEnumOptionU64U64 o, uint64_t *a, ui
return 0;
default:
assert(0 && "unexpected tag");
return 0;
}
}

0 comments on commit 8e76663

Please sign in to comment.