diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-09-07 10:46:08 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-09-07 10:46:08 +0000 |
commit | 88c9111883a14f2f3fd31471df6923f76b97e1a0 (patch) | |
tree | ad25602eddd2679774a2cb4b77ef0ae2cf91432c /db2 | |
parent | 26644e876ed70e2616f3ce74f401a6ead381b5a7 (diff) | |
download | glibc-88c9111883a14f2f3fd31471df6923f76b97e1a0.zip glibc-88c9111883a14f2f3fd31471df6923f76b97e1a0.tar.gz glibc-88c9111883a14f2f3fd31471df6923f76b97e1a0.tar.bz2 |
Update.
1998-09-07 Ulrich Drepper <drepper@cygnus.com>
* db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
quiet.
Diffstat (limited to 'db2')
-rw-r--r-- | db2/common/db_apprec.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/db2/common/db_apprec.c b/db2/common/db_apprec.c index df707ea..7f0cb3a 100644 --- a/db2/common/db_apprec.c +++ b/db2/common/db_apprec.c @@ -150,11 +150,12 @@ __db_apprec(dbenv, flags) ret = log_get(lp, &lsn, &data, DB_PREV)) { ret = __db_dispatch(lp, &data, &lsn, TXN_BACKWARD_ROLL, txninfo); - if (ret != 0) + if (ret != 0) { if (ret != DB_TXN_CKP) goto msgerr; else ret = 0; + } } if (ret != 0 && ret != DB_NOTFOUND) goto out; @@ -165,11 +166,12 @@ __db_apprec(dbenv, flags) for (ret = log_get(lp, &lsn, &data, DB_NEXT); ret == 0; ret = log_get(lp, &lsn, &data, DB_NEXT)) { ret = __db_dispatch(lp, &data, &lsn, TXN_FORWARD_ROLL, txninfo); - if (ret != 0) + if (ret != 0) { if (ret != DB_TXN_CKP) goto msgerr; else ret = 0; + } } if (ret != DB_NOTFOUND) goto out; |