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_len.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_len.c')
-rw-r--r-- | str_len.c | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -8,9 +8,13 @@ unsigned int str_len(const char *s) | |||
8 | 8 | ||
9 | t = s; | 9 | t = s; |
10 | for (;;) { | 10 | for (;;) { |
11 | if (!*t) return t - s; ++t; | 11 | if (!*t) return t - s; |
12 | if (!*t) return t - s; ++t; | 12 | ++t; |
13 | if (!*t) return t - s; ++t; | 13 | if (!*t) return t - s; |
14 | if (!*t) return t - s; ++t; | 14 | ++t; |
15 | if (!*t) return t - s; | ||
16 | ++t; | ||
17 | if (!*t) return t - s; | ||
18 | ++t; | ||
15 | } | 19 | } |
16 | } | 20 | } |