1998-09-07  Ulrich Drepper  <drepper@cygnus.com>

	* db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
	quiet.
This commit is contained in:
Ulrich Drepper 1998-09-07 10:46:08 +00:00
parent 26644e876e
commit 88c9111883
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
1998-09-07 Ulrich Drepper <drepper@cygnus.com>
* db2/common/db_apprec.c (__db_apprec): Add braces to make gcc
quiet.
1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com> 1998-09-07 09:58 Ulrich Drepper <drepper@cygnus.com>
* math/tgmath.h (scalb): Only define for __USE_MISC or * math/tgmath.h (scalb): Only define for __USE_MISC or

View File

@ -150,11 +150,12 @@ __db_apprec(dbenv, flags)
ret = log_get(lp, &lsn, &data, DB_PREV)) { ret = log_get(lp, &lsn, &data, DB_PREV)) {
ret = __db_dispatch(lp, ret = __db_dispatch(lp,
&data, &lsn, TXN_BACKWARD_ROLL, txninfo); &data, &lsn, TXN_BACKWARD_ROLL, txninfo);
if (ret != 0) if (ret != 0) {
if (ret != DB_TXN_CKP) if (ret != DB_TXN_CKP)
goto msgerr; goto msgerr;
else else
ret = 0; ret = 0;
}
} }
if (ret != 0 && ret != DB_NOTFOUND) if (ret != 0 && ret != DB_NOTFOUND)
goto out; goto out;
@ -165,11 +166,12 @@ __db_apprec(dbenv, flags)
for (ret = log_get(lp, &lsn, &data, DB_NEXT); for (ret = log_get(lp, &lsn, &data, DB_NEXT);
ret == 0; 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); ret = __db_dispatch(lp, &data, &lsn, TXN_FORWARD_ROLL, txninfo);
if (ret != 0) if (ret != 0) {
if (ret != DB_TXN_CKP) if (ret != DB_TXN_CKP)
goto msgerr; goto msgerr;
else else
ret = 0; ret = 0;
}
} }
if (ret != DB_NOTFOUND) if (ret != DB_NOTFOUND)
goto out; goto out;