Skip to contentSkip to conversation

e2fsck: Remove unnecessary continue statement

PATCH Applied Kazuya Mio 2 participants 2 messages Jul 6, 2009 – Jul 7, 2009

lore
Share & tools
lore

Kazuya Mio

author
#0 lore raw

PATCH 1/3 e2fsck: Remove unnecessary continue statement

Remove the continue statement because it calls at the end of the loop.

Regards,
Kazuya Mio

---
 pass2.c |    2 --
 1 file changed, 2 deletions(-)
e2fsck/pass2.c +0 -2
index bb3813c..889e39d 100644
@@ -243,8 +243,6 @@ void e2fsck_pass2(e2fsck_t ctx)
 				fix_problem(ctx, code, &pctx);
 				bad_dir++;
 			}
-			if (code == 0)
-				continue;
 		}
 		if (bad_dir && fix_problem(ctx, PR_2_HTREE_CLEAR, &pctx)) {
 			clear_htree(ctx, dx_dir->ino);
Applied
#1 lore raw
Quoted 1 line · Kazuya Mio

Remove the continue statement because it calls at the end of the loop.

Thanks, applied.

- Ted