From: Eric Sandeen Date: Tue, 9 Oct 2018 16:49:47 +0000 (-0500) Subject: xfsprogs: minor sparse fixes X-Git-Tag: v4.19.0-rc1~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6ebe7c72b911a78169072c2b484ce851f14acb9;p=thirdparty%2Fxfsprogs-dev.git 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 --- 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;