]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
style(9) (verified no object changes)
authorSean Farley <scf@FreeBSD.org>
Sat, 23 Feb 2008 01:17:42 +0000 (01:17 +0000)
committerSean Farley <scf@FreeBSD.org>
Sat, 23 Feb 2008 01:17:42 +0000 (01:17 +0000)
Approved by: wes (mentor)
MFC after: 5 days

pw/pw.c
pw/pw_group.c

diff --git a/pw/pw.c b/pw/pw.c
index c5ebe423d2ef36fd621f3bd789936334bcb8e941..3d9573f815ef497085b781954a01d62dc8ddbeb4 100644 (file)
--- a/pw/pw.c
+++ b/pw/pw.c
@@ -225,7 +225,7 @@ main(int argc, char *argv[])
                        setgrdir(etcpath);
                }
        }
-    
+
        /*
         * Now, let's do the common initialisation
         */
index 1c63a11722b263603f84b2d7f9880fca02b90040..10e8675aace5e25930c15abf25a85c0231d83967 100644 (file)
@@ -218,9 +218,8 @@ pw_group(struct userconf * cnf, int mode, struct cargs * args)
                        int     k = 0;
 
                        while (grp->gr_mem[k] != NULL) {
-                               if (extendarray(&members, &grmembers, i + 2) != -1) {
+                               if (extendarray(&members, &grmembers, i + 2) != -1)
                                        members[i++] = grp->gr_mem[k];
-                               }
                                k++;
                        }
                }