]> git.lizzy.rs Git - rust.git/blobdiff - src/test/auxiliary/rust_test_helpers.c
Merge commit 'd556c56f792756dd7cfec742b9f2e07612dc10f4' into sync_cg_clif-2021-02-01
[rust.git] / src / test / auxiliary / rust_test_helpers.c
index 897c940149b0a1c0513bb20cb7163e78407620e1..92b7dd4b7c516bc388bec727585953b6989944ba 100644 (file)
@@ -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;
     }
 }