]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/serialize.c
strv: make iterator in STRV_FOREACH() declaread in the loop
[thirdparty/systemd.git] / src / shared / serialize.c
index 47996b9ead64bb6cbc3c06a3cdb417f28eb27fd7..cd48286355715af6a845ceca08a56ac63b2001d4 100644 (file)
@@ -117,7 +117,6 @@ int serialize_dual_timestamp(FILE *f, const char *name, const dual_timestamp *t)
 
 int serialize_strv(FILE *f, const char *key, char **l) {
         int ret = 0, r;
-        char **i;
 
         /* Returns the first error, or positive if anything was serialized, 0 otherwise. */