From 03dbf7857e913823da0530bc2b8b83bf37dd79d7 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 16 Jun 2015 11:11:57 -0400 Subject: [PATCH] remove compilation warning (-Wunused-but-set-variable) --- libs/qm-dsp/dsp/onsets/PeakPicking.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libs/qm-dsp/dsp/onsets/PeakPicking.cpp b/libs/qm-dsp/dsp/onsets/PeakPicking.cpp index 55f56b46d0..b46c54b6d1 100644 --- a/libs/qm-dsp/dsp/onsets/PeakPicking.cpp +++ b/libs/qm-dsp/dsp/onsets/PeakPicking.cpp @@ -97,8 +97,6 @@ int PeakPicking::quadEval( vector &src, vector &idx ) vector m_poly; vector m_err; - double p; - m_poly.push_back(0); m_poly.push_back(0); m_poly.push_back(0); @@ -128,8 +126,6 @@ int PeakPicking::quadEval( vector &src, vector &idx ) m_maxFit.push_back(selMax); } - p = TPolyFit::PolyFit2( m_err, m_maxFit, m_poly); - double f = m_poly[0]; double h = m_poly[2];