summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorRobin Barker <RMBarker@cpan.org>2008-10-29 13:22:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2008-11-02 17:04:09 +0000
commit47127b64dd369017e77ff2eac9a6d3c02398507b (patch)
treec1d71f1439fb53e12cd15bdbf354db76a15c79a0 /pp_sort.c
parentf1f66076265cc2bac3adabd54c01b0dea28ca3f0 (diff)
downloadperl-47127b64dd369017e77ff2eac9a6d3c02398507b.tar.gz
explicit empty while loops
From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D4E2FD9@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@34695
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_sort.c b/pp_sort.c
index a75eab7608..e917c5efd9 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -204,7 +204,7 @@ dynprep(pTHX_ gptr *list1, gptr *list2, size_t nmemb, const SVCOMPARE_t cmp)
if (r >= t) p = r = t; /* too short to care about */
else {
while (((cmp(aTHX_ *(p-1), *p) > 0) == sense) &&
- ((p -= 2) > q));
+ ((p -= 2) > q)) {}
if (p <= q) {
/* b through r is a (long) run.
** Extend it as far as possible.