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 /byte_diff.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 'byte_diff.c')
-rw-r--r-- | byte_diff.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/byte_diff.c b/byte_diff.c index 0c4d17b..7abc766 100644 --- a/byte_diff.c +++ b/byte_diff.c | |||
@@ -8,10 +8,18 @@ register unsigned int n; | |||
8 | register char *t; | 8 | register char *t; |
9 | { | 9 | { |
10 | for (;;) { | 10 | for (;;) { |
11 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; | 11 | if (!n) return 0; |
12 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; | 12 | if (*s != *t) break; |
13 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; | 13 | ++s; ++t; --n; |
14 | if (!n) return 0; if (*s != *t) break; ++s; ++t; --n; | 14 | if (!n) return 0; |
15 | if (*s != *t) break; | ||
16 | ++s; ++t; --n; | ||
17 | if (!n) return 0; | ||
18 | if (*s != *t) break; | ||
19 | ++s; ++t; --n; | ||
20 | if (!n) return 0; | ||
21 | if (*s != *t) break; | ||
22 | ++s; ++t; --n; | ||
15 | } | 23 | } |
16 | return ((int)(unsigned int)(unsigned char) *s) | 24 | return ((int)(unsigned int)(unsigned char) *s) |
17 | - ((int)(unsigned int)(unsigned char) *t); | 25 | - ((int)(unsigned int)(unsigned char) *t); |