Commit f85a94d9 authored by Kenneth Moreland's avatar Kenneth Moreland
Browse files

Fix MSVC debugger warning for not initalizing function argument.

The latest MSVC debugger apparently checks to make sure that any
variable used as an argument to a function has been set.  There was
an instance in the reduce strategy that violated it.  I don't think
it could ever cause a problem (the arguments are ignored in this
particular state), but it's still bad programming style.  Thanks
to John Biddiscombe for bringing this up.
parent ed022ffc
......@@ -102,7 +102,10 @@ IceTImage icetReduceCompose(void)
} else {
/* Not assigned to compose any tile. Do nothing. */
/* Not assigned to compose any tile. Do nothing. These variables set
for safety. */
composited_image = icetSparseImageNull();
piece_offset = 0;
if (icetIsEnabled(ICET_COLLECT_IMAGES)) {
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