mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
util: Remove redundant assertion (CID 1497841)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
757cd49b84
commit
700754b096
@ -498,7 +498,7 @@ static void dump_data_block16(const char *prefix, size_t idx,
|
|||||||
char tmp[16];
|
char tmp[16];
|
||||||
size_t i;
|
size_t i;
|
||||||
|
|
||||||
SMB_ASSERT(len >= 0 && len <= 16);
|
SMB_ASSERT(len <= 16);
|
||||||
|
|
||||||
snprintf(tmp, sizeof(tmp), "%s[%04zX]", prefix, idx);
|
snprintf(tmp, sizeof(tmp), "%s[%04zX]", prefix, idx);
|
||||||
cb(tmp, private_data);
|
cb(tmp, private_data);
|
||||||
|
Loading…
Reference in New Issue
Block a user