From f6ebe7c72b911a78169072c2b484ce851f14acb9 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Tue, 9 Oct 2018 11:49:47 -0500 Subject: [PATCH] xfsprogs: minor sparse fixes Remove stray semicolon, add missing return. Fixes sparse warnings about this. Signed-off-by: Eric Sandeen Reviewed-by: Darrick J. Wong Reviewed-by: Christoph Hellwig Signed-off-by: Eric Sandeen --- io/init.c | 1 + repair/agheader.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/io/init.c b/io/init.c index 82774c7c5..e9449a28e 100644 --- a/io/init.c +++ b/io/init.c @@ -240,6 +240,7 @@ idle_loop(void *arg) { for (;;) pause(); + return NULL; } void diff --git a/repair/agheader.c b/repair/agheader.c index 77e04f60e..218ee256a 100644 --- a/repair/agheader.c +++ b/repair/agheader.c @@ -245,7 +245,7 @@ secondary_sb_whack( int do_bzero = 0; int size; char *ip; - int rval = 0;; + int rval = 0; uuid_t tmpuuid; rval = do_bzero = 0; -- 2.47.2