summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2020-05-01 10:42:03 +1200
committerAndreas Schneider <asn@cryptomilk.org>2020-05-08 09:31:31 +0000
commit9df4d6ab4944c6c606502981517f4e345c5c797e (patch)
tree6cc1bc62d889621104975ae0b9f8ace4b2d2bef6 /lib
parentdfdf8217aaabf2b7d47fb862bc785f7ada12d883 (diff)
downloadsamba-9df4d6ab4944c6c606502981517f4e345c5c797e.tar.gz
Fix clang 9 parentheses-equality warnings
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/ldb/ldb_mdb/ldb_mdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/ldb_mdb/ldb_mdb.c b/lib/ldb/ldb_mdb/ldb_mdb.c
index f0a418d07ee..c163321d5a7 100644
--- a/lib/ldb/ldb_mdb/ldb_mdb.c
+++ b/lib/ldb/ldb_mdb/ldb_mdb.c
@@ -183,7 +183,7 @@ static int lmdb_store(struct ldb_kv_private *ldb_kv,
if (flags == TDB_INSERT) {
mdb_flags = MDB_NOOVERWRITE;
- } else if ((flags == TDB_MODIFY)) {
+ } else if (flags == TDB_MODIFY) {
/*
* Modifying a record, ensure that it exists.
* This mimics the TDB semantics