Commit 9b121f67 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Fix warning about empty for loop.

Code was functionally correct but bad style.
parent e39ef09a
......@@ -284,7 +284,9 @@ IceTImage icetSplitCompose(void)
tile_groups[num_tiles] = num_proc;
/* Figure out which tile I am assigned to. */
for (my_tile = 0; rank >= tile_groups[my_tile+1]; my_tile++);
for (my_tile = 0; rank >= tile_groups[my_tile+1]; my_tile++) {
/* Nothing to do. Just drop out of loop when my_tile is correct. */
icetRaiseDebug1("My tile is %d", my_tile);
group_size = tile_groups[my_tile+1] - tile_groups[my_tile];
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment