Closed N-Dekker closed 1 month ago
Enabled and addressed -wshadow warnings, triggered by comments by Bradley Lowekamp (@blowekamp) from https://github.com/SimpleITK/SimpleITK/pull/2104#issuecomment-2075030813
-wshadow
The warnings are addressed by choosing more specific (more distinguishing) identifiers, removing unnecessary types and variables, reducing the scope of variables, and using modern C++ enum classes.
Nice work!
Enabled and addressed
-wshadow
warnings, triggered by comments by Bradley Lowekamp (@blowekamp) from https://github.com/SimpleITK/SimpleITK/pull/2104#issuecomment-2075030813The warnings are addressed by choosing more specific (more distinguishing) identifiers, removing unnecessary types and variables, reducing the scope of variables, and using modern C++ enum classes.