ldb: Improve coding style in ldb_kv_index_dn_simple()
authorAndrew Bartlett <abartlet@samba.org>
Wed, 26 Feb 2020 22:27:17 +0000 (11:27 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Feb 2020 03:08:46 +0000 (03:08 +0000)
commit48cfb8458b0ff86e3a431240933caa02d64af82f
tree1c64dc511151313a1d6ec9be48da39a5ae19a55a
parent0a87f59ac2580bdb7f93efa075323c73fc1ec83e
ldb: Improve coding style in ldb_kv_index_dn_simple()

We avoid bare if conditions in Samba.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14299

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
lib/ldb/ldb_key_value/ldb_kv_index.c