You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
False positive: UninitializedLocalRead on a value-initialized local #189
$ stack_usage_analyzer braced-init-read.cpp
at line 20, column 12
[ !!Warn ] potential read of uninitialized local variable 'normal'
↳ this load may execute before any definite initialization on all control-flow paths
Why it is wrong
Transformer normal{}; value-initializes normal: every member gets its default member initializer or is zero-initialized, before the loop and before result = normal; reads it.
Where it shows
The self-analysis reports it in referenceTransformers (test/unit/ownership_engine_unit_tests.cpp), on ParamTransformer normal{}; and ParamTransformer exceptional{}; (#184).
Activity