diff --git a/format.cc b/format.cc index 5c6a4433..9a7211d0 100644 --- a/format.cc +++ b/format.cc @@ -246,6 +246,7 @@ class WidthHandler : public fmt::internal::ArgVisitor { unsigned visit_unhandled_arg() { FMT_THROW(fmt::FormatError("width is not integer")); + return 0; } template