renderer2: uninitialized variable fixed (cpp)