diff options
author | Volker Lendecke <vl@samba.org> | 2014-08-04 13:57:12 +0000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-08-06 14:44:31 +0200 |
commit | e185ff22caf430f680f8bad1edf14bc98dd7c64e (patch) | |
tree | 4d8861bbff0186c330981953d403c4dea8bdfffe /source3/lib/ctdb_packet.c | |
parent | 9f596c17c7d255213df6201d4d489df1580faef4 (diff) | |
download | samba-e185ff22caf430f680f8bad1edf14bc98dd7c64e.tar.gz samba-e185ff22caf430f680f8bad1edf14bc98dd7c64e.tar.xz samba-e185ff22caf430f680f8bad1edf14bc98dd7c64e.zip |
ctdb-locking: Simplify ctdb_find_lock_context()
I like early returns that avoid else branches :-)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Autobuild-User(master): Amitay Isaacs <amitay@samba.org>
Autobuild-Date(master): Wed Aug 6 14:44:31 CEST 2014 on sn-devel-104
Diffstat (limited to 'source3/lib/ctdb_packet.c')
0 files changed, 0 insertions, 0 deletions