mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
s3:nmbd: Remove redundant code (CID 1414756)
‘buf’ is reassigned a few lines down. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
c30aa741ee
commit
67b2dc725d
@ -369,8 +369,6 @@ subnet %s - name not found.\n", nmb_namestr(&nmb->question.question_name),
|
|||||||
set_nb_flags( &buf[16],namerec->data.nb_flags );
|
set_nb_flags( &buf[16],namerec->data.nb_flags );
|
||||||
buf[16] |= NB_ACTIVE; /* all our names are active */
|
buf[16] |= NB_ACTIVE; /* all our names are active */
|
||||||
|
|
||||||
buf += 18;
|
|
||||||
|
|
||||||
names_added++;
|
names_added++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user