summaryrefslogtreecommitdiff
path: root/src/basic/strv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/strv.c')
-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 98d6f61067..34e464d253 100644
--- a/src/basic/strv.c
+++ b/src/basic/strv.c
@@ -824,9 +824,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;
}