From 2d07e4537083ac76414e2a920c66de3849d25748 Mon Sep 17 00:00:00 2001 From: Benjamin Oldenburg Date: Sat, 4 Apr 2026 20:19:11 +0700 Subject: [PATCH] tccpp: fix clang dangling-else warning --- tccpp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tccpp.c b/tccpp.c index bf2262c6..d4f2abc4 100644 --- a/tccpp.c +++ b/tccpp.c @@ -2500,12 +2500,13 @@ static void parse_number(const char *p) if (t >= b) tcc_error("invalid digit"); n = n * b + t; - if (!ov) + if (!ov) { /* detect overflow */ if (n1 >= 0x1000000000000000ULL && n / b != n1) ov = 1; else n1 = n; + } } /* Determine the characteristics (unsigned and/or 64bit) the type of