summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3c08577)
Write the for loop in a more idiomatic way, no assembly
change and of course no functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
T *cur, *p, *d;
if (firstMove != lastMove)
T *cur, *p, *d;
if (firstMove != lastMove)
- for (cur = firstMove; ++cur != lastMove; )
+ for (cur = firstMove + 1; cur != lastMove; cur++)
{
p = d = cur;
value = *p--;
{
p = d = cur;
value = *p--;