From 92bd9bda66884dbbb1f572f0cdf0063cea0b7d76 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Sat, 12 Oct 2019 22:44:43 -0400 Subject: Applied debian patch to fix indentation warnings. 0015-fix-34-cases-of-Wmisleading-indentation-warnings.patch From: Jan Date: Sat, 2 Mar 2019 21:47:29 +0100 Subject: fix: 34 cases of -Wmisleading-indentation warnings - fixed misleading indentation as reported by gcc 8.2.0 --- byte_chr.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'byte_chr.c') diff --git a/byte_chr.c b/byte_chr.c index fd56056..020b230 100644 --- a/byte_chr.c +++ b/byte_chr.c @@ -13,10 +13,18 @@ int c; ch = c; t = s; for (;;) { - if (!n) break; if (*t == ch) break; ++t; --n; - if (!n) break; if (*t == ch) break; ++t; --n; - if (!n) break; if (*t == ch) break; ++t; --n; - if (!n) break; if (*t == ch) break; ++t; --n; + if (!n) break; + if (*t == ch) break; + ++t; --n; + if (!n) break; + if (*t == ch) break; + ++t; --n; + if (!n) break; + if (*t == ch) break; + ++t; --n; + if (!n) break; + if (*t == ch) break; + ++t; --n; } return t - s; } -- cgit v1.2.3