From: Ulrich Drepper Date: Mon, 7 Sep 1998 10:46:08 +0000 (+0000) Subject: Update. X-Git-Tag: upstream/2.30~28181 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88c9111883a14f2f3fd31471df6923f76b97e1a0;p=external%2Fglibc.git Update. 1998-09-07 Ulrich Drepper * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc quiet. --- diff --git a/ChangeLog b/ChangeLog index 49fc6aa..6b80275 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-09-07 Ulrich Drepper + + * db2/common/db_apprec.c (__db_apprec): Add braces to make gcc + quiet. + 1998-09-07 09:58 Ulrich Drepper * math/tgmath.h (scalb): Only define for __USE_MISC or 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;