From: Enji Cooper Date: Mon, 19 Oct 2015 18:29:32 +0000 (+0000) Subject: Initialize `quiet` to false so `pw groupnext` again prints out the next gid X-Git-Url: https://git.cameronkatri.com/pw-darwin.git/commitdiff_plain/66d9e5fe286aaad023911a859e7b61e780a9740b Initialize `quiet` to false so `pw groupnext` again prints out the next gid by default Reported by: Florian Degner MFC after: 1 week PR: 203876 Sponsored by: EMC / Isilon Storage Division --- diff --git a/pw/pw_group.c b/pw/pw_group.c index 711ef68..67beab9 100644 --- a/pw/pw_group.c +++ b/pw/pw_group.c @@ -259,7 +259,7 @@ pw_group_next(int argc, char **argv, char *arg1 __unused) struct userconf *cnf; const char *cfg = NULL; int ch; - bool quiet; + bool quiet = false; while ((ch = getopt(argc, argv, "Cq")) != -1) { switch (ch) {