Bug 684065 - missing parenthesis in backoff_from_master()
Summary: missing parenthesis in backoff_from_master()
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: krb5
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Nalin Dahyabhai
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 684862
TreeView+ depends on / blocked
 
Reported: 2011-03-11 01:24 UTC by Kamil Dudka
Modified: 2011-07-06 21:36 UTC (History)
1 user (show)

Fixed In Version: krb5-1.9.1-5.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 684862 (view as bug list)
Environment:
Last Closed: 2011-03-18 17:41:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Kamil Dudka 2011-03-11 01:24:49 UTC
Description of problem:
statement with no effect


Version-Release number of selected component (if applicable):
krb5-1.9-6.fc16


Steps to Reproduce:
1. build the package

  
Actual results:
kpropd.c:996:9: warning: value computed is not used [-Wunused-value]


Additional info:
--- a/src/slave/kpropd.c
+++ b/src/slave/kpropd.c
@@ -993,7 +993,7 @@ unsigned int backoff_from_master(int *cnt) {
     btime = (unsigned int)(2<<(*cnt));
     if (btime > MAX_BACKOFF) {
         btime = MAX_BACKOFF;
-        *cnt--;
+        (*cnt)--;
     }

     return (btime);

Comment 2 Fedora Update System 2011-06-24 19:39:14 UTC
krb5-1.9.1-5.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/krb5-1.9.1-5.fc15

Comment 3 Fedora Update System 2011-07-06 21:35:58 UTC
krb5-1.9.1-5.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.