From 8e76663ed1983c4182a6e6a09dbc9c085ee56bd5 Mon Sep 17 00:00:00 2001 From: Vadim Petrochenkov Date: Wed, 6 May 2020 23:53:55 +0300 Subject: [PATCH] test: Fix warnings in `rust_test_helpers.c` --- src/test/auxiliary/rust_test_helpers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/auxiliary/rust_test_helpers.c b/src/test/auxiliary/rust_test_helpers.c index 897c940149b0a..92b7dd4b7c516 100644 --- a/src/test/auxiliary/rust_test_helpers.c +++ b/src/test/auxiliary/rust_test_helpers.c @@ -368,6 +368,7 @@ rust_dbg_unpack_option_u64(struct U8TaggedEnumOptionU64 o, uint64_t *into) { return 0; default: assert(0 && "unexpected tag"); + return 0; } } @@ -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; } }