libcli: Fix coverity warning in smb2cli_notify_send()
authorAndreas Schneider <asn@samba.org>
Wed, 16 May 2018 14:54:47 +0000 (16:54 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 16 May 2018 19:30:23 +0000 (21:30 +0200)
commit25c4f8c561edb83054218d1eba9f92e41a6573c5
treec18966bdda574182641d8f26e534c1e5e2ad27fe
parent3f1da75f3a0cf0d5c1cce1b987dda6e0115ca8dc
libcli: Fix coverity warning in smb2cli_notify_send()

result_independent_of_operands: "(uint16_t)(recursive ? 1 : 0) >> 8" is
0 regardless of the values of its operands. This occurs as the operand
of assignment.

Found by Coverity.

Pair-Programmed-With: Ralph Boehme <slow@samba.org>

Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
libcli/smb/smb2cli_notify.c