From cde86a06267ba04089ce1cc12c1bc98b45344279 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 13 Jan 2017 23:42:44 +0000 Subject: [PATCH] Fix an uninitialized variable. --- src/toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toolbar.cpp b/src/toolbar.cpp index d8e0070a..6fadfab2 100644 --- a/src/toolbar.cpp +++ b/src/toolbar.cpp @@ -157,7 +157,7 @@ bool GraphicsWindow::ToolbarDrawOrHitTest(int mx, int my, /*outlineColor=*/{}); } - bool showTooltip; + bool showTooltip = false; std::string tooltip; bool leftpos = true;