mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Merge from head to stable/8:
r200423: Remove a dead store.
This commit is contained in:
parent
f6007c0081
commit
08c59cc33e
1 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue