]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fsck.minix: remove unused variables
authorKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2011 15:10:53 +0000 (17:10 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 14 Jun 2011 15:10:53 +0000 (17:10 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fsck.minix.c

index 5a8c0f095d78567df77d7bdd638ee683b2c1f629..5ea92e23fd0b2568adf8a645e4fd5d44894db935 100644 (file)
@@ -742,10 +742,8 @@ check_root2 (void) {
 
 static int
 add_zone(unsigned short * znr, int * corrected) {
-       int result;
        int block;
 
-       result = 0;
        block = check_zone_nr(znr, corrected);
        if (!block)
                return 0;
@@ -775,10 +773,8 @@ add_zone(unsigned short * znr, int * corrected) {
 
 static int
 add_zone2 (unsigned int *znr, int *corrected) {
-       int result;
        int block;
 
-       result = 0;
        block = check_zone_nr2 (znr, corrected);
        if (!block)
                return 0;