summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-06-28 15:12:01 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-07-17 19:58:07 -0400
commitfc549b96054d52bbde68a4aa773bf4037700d389 (patch)
tree321b0d33f52f223cbd6bc028647f0b513268b711 /src/basic
parent96ace31dcdd8534e8c68d34398cd5093e86401b6 (diff)
Drop parentheses in two places
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/strv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/basic/strv.c b/src/basic/strv.c
index e0e2d1ebbe..db315ac10a 100644
--- a/src/basic/strv.c
+++ b/src/basic/strv.c
@@ -803,9 +803,8 @@ char **strv_reverse(char **l) {
if (n <= 1)
return l;
- for (i = 0; i < n / 2; i++) {
+ for (i = 0; i < n / 2; i++)
SWAP_TWO(l[i], l[n-1-i]);
- }
return l;
}