[ET Trac] [Einstein Toolkit] #604: LocalReduce: Initialize variables to avoid compiler warnings
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Tue Oct 11 17:58:35 CDT 2011
#604: LocalReduce: Initialize variables to avoid compiler warnings
--------------------------+-------------------------------------------------
Reporter: knarf | Owner:
Type: enhancement | Status: review
Priority: minor | Milestone:
Component: Cactus | Version: development version
Resolution: | Keywords:
--------------------------+-------------------------------------------------
Comment (by knarf):
It complains about .Im, also for non-complex variable types, so I assume
it's the compiler not understanding the logic. However, I didn't look too
closely and it might actually access .Im even for non-complex types. It
doesn't look bad to me to initialize that memory in any case, and it also
does not look like it would affect performance in any measurable way (by
looking at the code, not by trying to measure it).
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/604#comment:5>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list