From: Zbigniew Jędrzejewski-Szmek Date: Wed, 2 Mar 2022 16:17:54 +0000 (+0100) Subject: shared/install: drop unnecessary parentheses X-Git-Tag: v251-rc1~114 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=066931818d92dce63ebe97800a638defbb6246b9;p=thirdparty%2Fsystemd.git shared/install: drop unnecessary parentheses --- diff --git a/src/shared/install.c b/src/shared/install.c index 6f6087c4ee4..1f5828de568 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -563,7 +563,7 @@ static int remove_marked_symlinks_fd( rewinddir(d); - FOREACH_DIRENT(de, d, return -errno) { + FOREACH_DIRENT(de, d, return -errno) if (de->d_type == DT_DIR) { _cleanup_free_ char *p = NULL; @@ -646,7 +646,6 @@ static int remove_marked_symlinks_fd( if (q > 0 && !dry_run) *restart = true; } - } return r; }