From 1fa4236c40a727d7ae648e12d14d1f0f9fcf79b5 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 10 Aug 2011 19:46:00 +0200 Subject: Adapt renormalize to Samba coding conventions --- lib/ccan/tally/tally.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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. */ -- cgit