Commit 80a05e8f authored by Robert Bradshaw's avatar Robert Bradshaw

Don't warn on uninitialized setting of complex.real/imag

parent 9d537027
......@@ -157,6 +157,7 @@ class ControlFlow(object):
def is_statically_assigned(self, entry):
if (entry.is_local and entry.is_variable and
(entry.type.is_struct_or_union or
entry.type.is_complex or
entry.type.is_array or
entry.type.is_cpp_class)):
# stack allocated structured variable => never uninitialised
......
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