summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-02-18 10:32:18 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2015-02-18 10:32:18 +1100
commitd2c69cfeea0d258d4d9a23bcd049ac5143d5132e (patch)
tree335373f5b876e2a7f7012cbff7f56102599238b7
parent2886bed7d7c63b29ab07f9da121bba4f05229c28 (diff)
parentf9e6f942cf73c8a53aaadbc587c1b7efad6cc832 (diff)
downloadmongo-d2c69cfeea0d258d4d9a23bcd049ac5143d5132e.tar.gz
Merge pull request #1682 from wiredtiger/txn-api-end-retry-lint
TXN_API_END_RETRY cleanup.
-rw-r--r--src/include/api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/api.h b/src/include/api.h
index e610b3b3e1b..70068e32b9b 100644
--- a/src/include/api.h
+++ b/src/include/api.h
@@ -76,7 +76,7 @@
} \
} \
break; \
-} while (ret == 0)
+} while (1)
/* End a transactional API call, retry on deadlock. */
#define TXN_API_END(s, ret) TXN_API_END_RETRY(s, ret, 1)