1
0
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:
Joseph Sutton 2023-10-06 13:12:05 +13:00 committed by Andrew Bartlett
parent 757cd49b84
commit 700754b096

View File

@ -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);