s4/dsdb/common: clang: Fix 'The left operand of '&' is a garbage value'
authorNoel Power <noel.power@suse.com>
Fri, 5 Jul 2019 11:04:10 +0000 (11:04 +0000)
committerGary Lockyer <gary@samba.org>
Wed, 24 Jul 2019 04:19:27 +0000 (04:19 +0000)
commitbd86df913b14070e157b6a9178438f71321c8872
tree42fb698fbf145ea3312f1115c3a6ab615d835ca9
parent79d585689e206dc0e04a4d30f75a38dc4490d96b
s4/dsdb/common: clang: Fix 'The left operand of '&' is a garbage value'

Fixes:

source4/dsdb/common/util.c:1964:18: warning: The left operand of '&' is a garbage value <--[clang]
        return (options & DS_NTDSDSA_OPT_IS_GC) != 0;
                ~~~~~~~ ^

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
source4/dsdb/common/util.c