]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commitdiff
Remove superfluous break statements
authorTheodore Ts'o <tytso@mit.edu>
Thu, 25 Feb 2021 17:39:01 +0000 (12:39 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 25 Feb 2021 17:39:01 +0000 (12:39 -0500)
https://github.com/tytso/e2fsprogs/pull/45
https://github.com/tytso/e2fsprogs/pull/46

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/ext2fs/ext_attr.c
misc/chattr.c

index 77e9d35bc00e1060586ae78f078bdd587b454189..148fae5b56cac1b8a72e379732724ca34b2e3116 100644 (file)
@@ -629,7 +629,6 @@ static errcode_t convert_disk_buffer_to_posix_acl(const void *value, size_t size
                default:
                        ext2fs_free_mem(&out);
                        return EINVAL;
-                       break;
                }
                entry++;
        }
index 14b57348c5127d9eb5f01348a006a9b7eabdf548..644ef4e998f99d1921947dc7976fb48e3cdf509d 100644 (file)
@@ -204,7 +204,6 @@ static int decode_arg (int * i, int argc, char ** argv)
                break;
        default:
                return EOF;
-               break;
        }
        return 1;
 }