summaryrefslogtreecommitdiff
path: root/str_len.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 /str_len.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 'str_len.c')
-rw-r--r--str_len.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/str_len.c b/str_len.c
index dedd005..38c6e28 100644
--- a/str_len.c
+++ b/str_len.c
@@ -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}