mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
Fix clang 9 parentheses-equality warnings
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
dfdf8217aa
commit
9df4d6ab49
@ -794,7 +794,6 @@ int main(void) {
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=format-nonliteral', testflags=True)
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=for-loop-analysis', testflags=True)
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=missing-field-initializers', testflags=True)
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=parentheses-equality', testflags=True)
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=unused-function', testflags=True)
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=enum-conversion', testflags=True)
|
||||
conf.ADD_NAMED_CFLAGS('PICKY_CFLAGS', '-Wno-error=logical-not-parentheses', testflags=True)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user