summaryrefslogtreecommitdiff
path: root/byte_chr.c
diff options
context:
space:
mode:
authorJoe Crayne <joe@jerkface.net>2019-10-12 22:44:43 -0400
committerJoe Crayne <joe@jerkface.net>2019-10-12 22:44:43 -0400
commit92bd9bda66884dbbb1f572f0cdf0063cea0b7d76 (patch)
tree8defc7f53599b8c906eae59332fef446e01524c7 /byte_chr.c
parentcdf1abf190f1097c4f6ae2ff0a9fa023df6982f1 (diff)
Applied debian patch to fix indentation warnings.
0015-fix-34-cases-of-Wmisleading-indentation-warnings.patch From: Jan <cloux@rote.ch> 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
Diffstat (limited to 'byte_chr.c')
-rw-r--r--byte_chr.c16
1 files changed, 12 insertions, 4 deletions
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;
13 ch = c; 13 ch = c;
14 t = s; 14 t = s;
15 for (;;) { 15 for (;;) {
16 if (!n) break; if (*t == ch) break; ++t; --n; 16 if (!n) break;
17 if (!n) break; if (*t == ch) break; ++t; --n; 17 if (*t == ch) break;
18 if (!n) break; if (*t == ch) break; ++t; --n; 18 ++t; --n;
19 if (!n) break; if (*t == ch) break; ++t; --n; 19 if (!n) break;
20 if (*t == ch) break;
21 ++t; --n;
22 if (!n) break;
23 if (*t == ch) break;
24 ++t; --n;
25 if (!n) break;
26 if (*t == ch) break;
27 ++t; --n;
20 } 28 }
21 return t - s; 29 return t - s;
22} 30}