Skip to content

Commit 33068a0

Browse files
committed
binfmt: unparenthesize a bit
1 parent 5270759 commit 33068a0

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/binfmt/binfmt.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,15 +200,13 @@ static int run(int argc, char *argv[]) {
200200
if (arg_unregister)
201201
return disable_binfmt();
202202

203-
if (argc > optind) {
204-
int i;
205-
206-
for (i = optind; i < argc; i++) {
203+
if (argc > optind)
204+
for (int i = optind; i < argc; i++) {
207205
k = apply_file(argv[i], false);
208206
if (k < 0 && r == 0)
209207
r = k;
210208
}
211-
} else {
209+
else {
212210
_cleanup_strv_free_ char **files = NULL;
213211
char **f;
214212

0 commit comments

Comments
 (0)