From c5fd347401f1b0016ab50f390bbcff935603456a Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 29 Jan 2019 23:18:13 +0100 Subject: [PATCH] Initialize variable. --- server/TracyView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracyView.cpp b/server/TracyView.cpp index d3f30574..a52a254e 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -3213,7 +3213,7 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover, fl assert( !v->data.empty() ); bool& showFull = ShowFull( v ); - float txtx; + float txtx = 0; auto yPos = wpos.y + offset; if( yPos + ty >= yMin && yPos <= yMax ) {