From d6d69857e79aa1e9d6736c9728ca28cebfad5ce0 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Thu, 25 Feb 2021 12:39:01 -0500 Subject: [PATCH] Remove superfluous break statements https://github.com/tytso/e2fsprogs/pull/45 https://github.com/tytso/e2fsprogs/pull/46 Signed-off-by: Theodore Ts'o --- lib/ext2fs/ext_attr.c | 1 - misc/chattr.c | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/ext2fs/ext_attr.c b/lib/ext2fs/ext_attr.c index 77e9d35..148fae5 100644 --- a/lib/ext2fs/ext_attr.c +++ b/lib/ext2fs/ext_attr.c @@ -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++; } diff --git a/misc/chattr.c b/misc/chattr.c index 14b5734..644ef4e 100644 --- a/misc/chattr.c +++ b/misc/chattr.c @@ -204,7 +204,6 @@ static int decode_arg (int * i, int argc, char ** argv) break; default: return EOF; - break; } return 1; } -- 1.8.3.1