Whamcloud - gitweb
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 77e9d35..148fae5 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 14b5734..644ef4e 100644 (file)
@@ -204,7 +204,6 @@ static int decode_arg (int * i, int argc, char ** argv)
                break;
        default:
                return EOF;
-               break;
        }
        return 1;
 }