From 9b855d406d16cf4afd7864c0d0bbc49a419f6fe8 Mon Sep 17 00:00:00 2001 From: Jin S Date: Sun, 10 Dec 2023 23:59:16 -0500 Subject: [PATCH] fix build --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 4678d6a8..4093e37d 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2124,7 +2124,7 @@ auto write_int(OutputIt out, UInt value, unsigned prefix, const format_specs& specs, const digit_grouping& grouping) -> OutputIt { static_assert(std::is_same, UInt>::value, ""); - int num_digits; + int num_digits = 0; char digits[40]; switch (specs.type) {