diff --git a/plotter.cpp b/plotter.cpp index 14ac09e73..faf62a75e 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -97,7 +97,7 @@ void CPlotter::paintEvent(QPaintEvent *) // paint void CPlotter::draw(float swide[], bool bScroll, bool bRed) { int j,j0; - static int jtop=0,ktop=0; + static int ktop=0; float y,y2,ymin; double fac = sqrt(m_binsPerPixel*m_waterfallAvg/15.0); double gain = fac*pow(10.0,0.02*m_plotGain); @@ -193,7 +193,6 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed) painter2D.drawPolyline(LineBuf2,ktop); } } - jtop=j; LineBuf[j].setX(i); LineBuf[j].setY(int(0.9*m_h2-y2*m_h2/70.0)); if(y2