Remove a dead store.
MFC after: 5 days
This commit is contained in:
parent
f52384d1cf
commit
0dd84a53d7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200423
@ -117,8 +117,8 @@ gr_make(const struct group *gr)
|
||||
/* Create the group line and fill it. */
|
||||
if ((line = malloc(line_size)) == NULL)
|
||||
return (NULL);
|
||||
line_size = snprintf(line, line_size, group_line_format, gr->gr_name,
|
||||
gr->gr_passwd, (uintmax_t)gr->gr_gid);
|
||||
snprintf(line, line_size, group_line_format, gr->gr_name, gr->gr_passwd,
|
||||
(uintmax_t)gr->gr_gid);
|
||||
if (gr->gr_mem != NULL)
|
||||
for (ndx = 0; gr->gr_mem[ndx] != NULL; ndx++) {
|
||||
strcat(line, gr->gr_mem[ndx]);
|
||||
|
Loading…
Reference in New Issue
Block a user