summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/fsck.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/e2fsprogs/fsck.c b/e2fsprogs/fsck.c
index 447b4d0..b70fd70 100644
--- a/e2fsprogs/fsck.c
+++ b/e2fsprogs/fsck.c
@@ -509,12 +509,7 @@ static struct fsck_instance *wait_one(int flags)
goto ret_inst;
}
- /*
- * gcc -Wall fails saving throw against stupidity
- * (inst and prev are thought to be uninitialized variables)
- */
- inst = prev = NULL;
-
+ inst = prev = NULL; /* for gcc */
do {
pid = waitpid(-1, &status, flags);
kill_all_if_cancel_requested();