diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-31 10:14:13 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-05-31 10:14:13 +0000 |
| commit | 229f1c5662a4b35f0e78f947120ebd810d45ce20 (patch) | |
| tree | a51df634deb5eb23600e1eb534731ec08809a1ac /pw/grupd.c | |
| parent | 3af58faa587f263481899bbe5a258c74be6038c0 (diff) | |
| download | pw-darwin-229f1c5662a4b35f0e78f947120ebd810d45ce20.tar.gz pw-darwin-229f1c5662a4b35f0e78f947120ebd810d45ce20.zip | |
Remove uneeded intermediate variable
Diffstat (limited to 'pw/grupd.c')
| -rw-r--r-- | pw/grupd.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -116,9 +116,6 @@ chggrent(char const * login, struct group * grp) int delgrent(struct group * grp) { - char group[MAXLOGNAME]; - strlcpy(group, grp->gr_name, MAXLOGNAME); - - return gr_update(NULL, group); + return (gr_update(NULL, grp->gr_name)); } |
