1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

s3: Slightly simplify db_ctdb_transaction_commit

Avoid an unnecessary "else".

Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Volker Lendecke 2012-11-07 16:39:16 +01:00 committed by Michael Adam
parent b206b52748
commit 6e0259d8ec

View File

@ -836,7 +836,8 @@ again:
if (new_seqnum == old_seqnum) {
/* Recovery prevented all our changes: retry. */
goto again;
} else if (new_seqnum != (old_seqnum + 1)) {
}
if (new_seqnum != (old_seqnum + 1)) {
DEBUG(0, (__location__ " ERROR: new_seqnum[%lu] != "
"old_seqnum[%lu] + (0 or 1) after failed "
"TRANS3_COMMIT - this should not happen!\n",