libcl/smb: clang: Fix 'Value stored to 'next_offset' is never read'
authorNoel Power <noel.power@suse.com>
Mon, 8 Jul 2019 15:19:51 +0000 (15:19 +0000)
committerGary Lockyer <gary@samba.org>
Thu, 11 Jul 2019 04:08:13 +0000 (04:08 +0000)
commitfa551bf0a4ae5a6687a1ee638dc3c495a30a2e19
tree28ba9ba555b4c8a556e9ac127c90760b2c81ea00
parent71943ab53ee67dab0bb47753b78074917f38749e
libcl/smb: clang: Fix 'Value stored to 'next_offset' is never read'

Fixes:

 libcli/smb/smb2_create_blob.c:146:3: warning: Value stored to 'next_offset' is never read <--[clang]
                next_offset += next_pad;
                ^              ~~~~~~~~
1 warning generated.

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
libcli/smb/smb2_create_blob.c