What is a Conditionally Uninitialized Variable? The return value of a function that is potentially used to initialize a local variable is not checked. Therefore, reading the local variable may result in undefined behavior.
2 instances of this defect were found in the following locations:
What is a Conditionally Uninitialized Variable? The return value of a function that is potentially used to initialize a local variable is not checked. Therefore, reading the local variable may result in undefined behavior.
2 instances of this defect were found in the following locations:
Instance 1 File :
examples/common/imgui/imgui.cpp
Enclosing Function :UpdateManualResize@ImGui
Function :ButtonBehavior@ImGui
https://github.com/lighttransport/nanort/blob/135a452385a2903592db7518fbb80479d99ab9c3/examples/common/imgui/imgui.cpp#L4405 Issue in: held, hoveredCode extract:
How can I fix it? Fix provided in corresponding Pull Request.
Instance 2 File :
examples/common/imgui/imgui.cpp
Enclosing Function :UpdateManualResize@ImGui
Function :ButtonBehavior@ImGui
https://github.com/lighttransport/nanort/blob/135a452385a2903592db7518fbb80479d99ab9c3/examples/common/imgui/imgui.cpp#L4431 Issue in: held, hoveredCode extract:
How can I fix it? Fix provided in corresponding Pull Request.