diff options
author | Joe Crayne <joe@jerkface.net> | 2019-10-12 22:44:43 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2019-10-12 22:44:43 -0400 |
commit | 92bd9bda66884dbbb1f572f0cdf0063cea0b7d76 (patch) | |
tree | 8defc7f53599b8c906eae59332fef446e01524c7 /str_chr.c | |
parent | cdf1abf190f1097c4f6ae2ff0a9fa023df6982f1 (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 'str_chr.c')
-rw-r--r-- | str_chr.c | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -10,10 +10,18 @@ unsigned int str_chr(register const char *s,int c) | |||
10 | ch = c; | 10 | ch = c; |
11 | t = s; | 11 | t = s; |
12 | for (;;) { | 12 | for (;;) { |
13 | if (!*t) break; if (*t == ch) break; ++t; | 13 | if (!*t) break; |
14 | if (!*t) break; if (*t == ch) break; ++t; | 14 | if (*t == ch) break; |
15 | if (!*t) break; if (*t == ch) break; ++t; | 15 | ++t; |
16 | if (!*t) break; if (*t == ch) break; ++t; | 16 | if (!*t) break; |
17 | if (*t == ch) break; | ||
18 | ++t; | ||
19 | if (!*t) break; | ||
20 | if (*t == ch) break; | ||
21 | ++t; | ||
22 | if (!*t) break; | ||
23 | if (*t == ch) break; | ||
24 | ++t; | ||
17 | } | 25 | } |
18 | return t - s; | 26 | return t - s; |
19 | } | 27 | } |