Skip to content

Commit

Permalink
Fix maybe-uninitialized warning under g++
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkrupinski committed Nov 6, 2023
1 parent 87735ff commit 7cbdb67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/GameClasses/PanoramaUiEngine.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ struct PanoramaUiEngine {

static cs2::PanelHandle getPanelHandle(cs2::CUIPanel* panel) noexcept
{
cs2::PanelHandle handle;
cs2::PanelHandle handle{};
if (impl().getPanelHandle && impl().thisptr) {
#if IS_WIN64()
impl().getPanelHandle(*impl().thisptr, &handle, panel);
Expand Down

0 comments on commit 7cbdb67

Please sign in to comment.