Initialize variable.

This commit is contained in:
Bartosz Taudul 2019-01-29 23:18:13 +01:00
parent 89ddfd0006
commit c5fd347401

View File

@ -3213,7 +3213,7 @@ int View::DrawPlots( int offset, double pxns, const ImVec2& wpos, bool hover, fl
assert( !v->data.empty() ); assert( !v->data.empty() );
bool& showFull = ShowFull( v ); bool& showFull = ShowFull( v );
float txtx; float txtx = 0;
auto yPos = wpos.y + offset; auto yPos = wpos.y + offset;
if( yPos + ty >= yMin && yPos <= yMax ) if( yPos + ty >= yMin && yPos <= yMax )
{ {