diff options
author | Volker Lendecke <vl@samba.org> | 2011-08-10 19:46:00 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-08-10 19:56:10 +0200 |
commit | 1fa4236c40a727d7ae648e12d14d1f0f9fcf79b5 (patch) | |
tree | 973bcd7f3f1035c40ca5f22774538d3e189f6d33 /lib/ccan | |
parent | 4a3913fbb9399685785efa430765e0b5836ded60 (diff) | |
download | samba-1fa4236c40a727d7ae648e12d14d1f0f9fcf79b5.tar.gz samba-1fa4236c40a727d7ae648e12d14d1f0f9fcf79b5.tar.bz2 samba-1fa4236c40a727d7ae648e12d14d1f0f9fcf79b5.zip |
Adapt renormalize to Samba coding conventions
Diffstat (limited to 'lib/ccan')
-rw-r--r-- | lib/ccan/tally/tally.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ccan/tally/tally.c b/lib/ccan/tally/tally.c index 4ece2364c3..4c5e37e9e0 100644 --- a/lib/ccan/tally/tally.c +++ b/lib/ccan/tally/tally.c @@ -88,8 +88,9 @@ static void renormalize(struct tally *tally, unsigned int i, old_min; /* Uninitialized? Don't do anything... */ - if (tally->max < tally->min) + if (tally->max < tally->min) { goto update; + } /* If we don't have sufficient range, increase step bits until * buckets cover entire range of ssize_t anyway. */ |