]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/path-lookup.c
shared/path-lookup: remove unnecessary 'if' to help gcc
[thirdparty/systemd.git] / src / shared / path-lookup.c
index 13ab5310e34cb7962691d018fa6172232ebecb76..42a5b62d5d046ad0925acccb9a38f476a6920441 100644 (file)
@@ -260,7 +260,8 @@ static int acquire_generator_dirs(
                 prefix = tempdir;
         else if (scope == UNIT_FILE_SYSTEM)
                 prefix = "/run/systemd";
-        else if (scope == UNIT_FILE_USER) {
+        else {
+                /* UNIT_FILE_USER */
                 const char *e;
 
                 e = getenv("XDG_RUNTIME_DIR");