Remove uneeded intermediate variable
This commit is contained in:
parent
197419154e
commit
e55af20b47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283810
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user