diff options
author | Robin Barker <RMBarker@cpan.org> | 2008-10-29 13:22:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2008-11-02 17:04:09 +0000 |
commit | 47127b64dd369017e77ff2eac9a6d3c02398507b (patch) | |
tree | c1d71f1439fb53e12cd15bdbf354db76a15c79a0 /pp_sort.c | |
parent | f1f66076265cc2bac3adabd54c01b0dea28ca3f0 (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |