Skip to content

Commit 7d22f50

Browse files
committed
2011-04-15 Kenneth Russell <kbr@google.com>
Unreviewed. Chromium Linux Release build fix due to unused variables. * platform/audio/mkl/FFTFrameMKL.cpp: (WebCore::FFTFrame::doFFT): (WebCore::FFTFrame::doInverseFFT): (WebCore::FFTFrame::cleanup): Canonical link: https://commits.webkit.org/73787@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@84046 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 88e6e1b commit 7d22f50

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

Source/WebCore/ChangeLog

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
2011-04-15 Kenneth Russell <kbr@google.com>
2+
3+
Unreviewed. Chromium Linux Release build fix due to unused variables.
4+
5+
* platform/audio/mkl/FFTFrameMKL.cpp:
6+
(WebCore::FFTFrame::doFFT):
7+
(WebCore::FFTFrame::doInverseFFT):
8+
(WebCore::FFTFrame::cleanup):
9+
110
2011-04-15 Brent Fulgham <bfulgham@webkit.org>
211

312
Unreviewed build change after r83945.

Source/WebCore/platform/audio/mkl/FFTFrameMKL.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void FFTFrame::doFFT(float* data)
174174
{
175175
// Compute Forward transform.
176176
MKL_LONG status = DftiComputeForward(m_handle, data, m_complexData.data());
177-
ASSERT(DftiErrorClass(status, DFTI_NO_ERROR));
177+
ASSERT_UNUSED(status, DftiErrorClass(status, DFTI_NO_ERROR));
178178

179179
// De-interleave to separate real and complex arrays. FIXME:
180180
// figure out if it's possible to get MKL to use split-complex
@@ -199,7 +199,7 @@ void FFTFrame::doInverseFFT(float* data)
199199

200200
// Compute backward transform.
201201
MKL_LONG status = DftiComputeBackward(m_handle, interleavedData, data);
202-
ASSERT(DftiErrorClass(status, DFTI_NO_ERROR));
202+
ASSERT_UNUSED(status, DftiErrorClass(status, DFTI_NO_ERROR));
203203
}
204204

205205
void FFTFrame::initialize()
@@ -214,7 +214,7 @@ void FFTFrame::cleanup()
214214
for (int i = 0; i < kMaxFFTPow2Size; ++i) {
215215
if (descriptorHandles[i]) {
216216
MKL_LONG status = DftiFreeDescriptor(&descriptorHandles[i]);
217-
ASSERT(DftiErrorClass(status, DFTI_NO_ERROR));
217+
ASSERT_UNUSED(status, DftiErrorClass(status, DFTI_NO_ERROR));
218218
}
219219
}
220220

0 commit comments

Comments
 (0)