Skip to content

Initialize nPasses in aspect_t struct in SetAspect

In dotLayout, nPasses is decremented in a while loop. Since it may be uninitialized, this triggers clang's UndefinedBehaviorSanitizer: signed-integer-overflow. While behavior does not change because the loop also checks nextIter, which is initialized, this change fixes the sanitizer error.

Merge request reports