From: Eric Blake Date: Fri, 24 Oct 2008 17:42:29 +0000 (-0600) Subject: group-list: avoid compiler warning X-Git-Tag: v7.1~159 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b705e9a9e71546f3da2d3f5f966363e62b74d057;p=thirdparty%2Fcoreutils.git group-list: avoid compiler warning * src/group-list.c (print_group_list) [!HAVE_GETGROUPS]: Always return value. --- diff --git a/src/group-list.c b/src/group-list.c index 96438d9b82..3547ed669e 100644 --- a/src/group-list.c +++ b/src/group-list.c @@ -83,9 +83,9 @@ print_group_list (const char *username, ok = false; } free (groups); - return ok; } #endif /* HAVE_GETGROUPS */ + return ok; }