]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/test/test-env-util.c
strv: make iterator in STRV_FOREACH() declaread in the loop
[thirdparty/systemd.git] / src / test / test-env-util.c
index 99ed0d2a050f962a5e34437593ca61d5d726b96a..cc37d96327ba6fd4b5b3daf7c46f1a5e66faddf5 100644 (file)
@@ -412,7 +412,6 @@ TEST(getenv_steal_erase) {
         r = safe_fork("(sd-getenvstealerase)", FORK_DEATHSIG|FORK_LOG|FORK_WAIT, NULL);
         if (r == 0) {
                 _cleanup_strv_free_ char **l = NULL;
-                char **e;
 
                 /* child */