Skip to content

Silence warning about uninitialized data

Simon Praetorius requested to merge issue/intersection-uninitialized into master

Summary

The data type YGridList<C>::Intersection is an aggregate type. Default initialization leads to uninitialized members. The members are also not all initialized manually afterwards. This MR first performs an aggregate initialization so that all members have a determined value afterwards. This also silences a warning shown by recent compilers with -Wall.

Merge request reports