summaryrefslogtreecommitdiff
path: root/src/strv.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-08-01 01:28:01 +0200
committerLennart Poettering <lennart@poettering.net>2011-08-01 01:28:01 +0200
commit911a4828e054a531be961cea34de89b666bda710 (patch)
tree4ba6454e7e3b08b578a91d1728062c4efbf233bc /src/strv.c
parent57a8eca84a1eda99c8cfb63889fa300ba982cb77 (diff)
util: introduce join() to speed up simple string concatenations
Diffstat (limited to 'src/strv.c')
-rw-r--r--src/strv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/strv.c b/src/strv.c
index f15aa8736a..066dd09276 100644
--- a/src/strv.c
+++ b/src/strv.c
@@ -105,7 +105,6 @@ char **strv_new_ap(const char *x, va_list ap) {
unsigned n = 0, i = 0;
va_list aq;
-
if (x) {
n = 1;