From: Eric Sandeen <sandeen@xxxxxxxxxx> Remove stray semicolon, add missing return. Fixes sparse warnings about this. Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxxx> --- 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 82774c7..e9449a2 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 77e04f6..218ee25 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; -- 1.8.3.1