2021-06-16 04:57:45

by Eric Biggers

[permalink] [raw]
Subject: [PATCH 6/6] libext2fs: fix a -Wunused-label warning

From: Eric Biggers <[email protected]>

Remove a label which isn't used.

Signed-off-by: Eric Biggers <[email protected]>
---
lib/ext2fs/unix_io.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/lib/ext2fs/unix_io.c b/lib/ext2fs/unix_io.c
index 64eee342..3bb8d238 100644
--- a/lib/ext2fs/unix_io.c
+++ b/lib/ext2fs/unix_io.c
@@ -329,7 +329,6 @@ success_unlock:

error_unlock:
mutex_unlock(data, BOUNCE_MTX);
-error_out:
if (actual >= 0 && actual < size)
memset((char *) buf+actual, 0, size-actual);
if (channel->read_error)
--
2.32.0.272.g935e593368-goog


2021-07-07 03:15:11

by Theodore Ts'o

[permalink] [raw]
Subject: Re: [PATCH 6/6] libext2fs: fix a -Wunused-label warning

On Tue, Jun 15, 2021 at 09:53:34PM -0700, Eric Biggers wrote:
> From: Eric Biggers <[email protected]>
>
> Remove a label which isn't used.
>
> Signed-off-by: Eric Biggers <[email protected]>

Applied, thanks.

- Ted