diff --git a/import-fuchsia/src/import-fuchsia.cpp b/import-fuchsia/src/import-fuchsia.cpp index 720e7113..d73a17a2 100644 --- a/import-fuchsia/src/import-fuchsia.cpp +++ b/import-fuchsia/src/import-fuchsia.cpp @@ -250,7 +250,7 @@ void readArgument(std::vector &args, DecodeState &dec, ArgumentValue value; switch (ty) { case 0: - value = (Unit){}; + value = Unit{}; break; case 1: { int32_t i = header >> 32; @@ -324,7 +324,7 @@ double argumentToNumber(Argument const &arg) { } else if (std::holds_alternative(arg.value)) { return static_cast(std::get(arg.value)); } else { - assert(false); + abort(); } }