+2011-09-16 Max Perepelitsyn <pph34r@gmail.com>
+
+ Set but not used variables cleanup (gcc 4.6)
+ https://bugs.webkit.org/show_bug.cgi?id=68157
+
+ Reviewed by Darin Adler.
+
+ * platform/audio/ReverbConvolverStage.cpp:
+ (WebCore::ReverbConvolverStage::process):
+ * rendering/RenderMediaControlsChromium.cpp:
+ (WebCore::paintMediaButton):
+
2011-09-16 Geoffrey Garen <ggaren@apple.com>
Removed undetectable style.filter.
if (!isTemporaryBufferSafe)
return;
- int writeIndex = 0;
-
if (m_framesProcessed < m_preDelayLength) {
// For the first m_preDelayLength frames don't process the convolver, instead simply buffer in the pre-delay.
// But while buffering the pre-delay, we still need to update our index.
m_convolver->process(&m_fftKernel, preDelayedSource, temporaryBuffer, framesToProcess);
// Now accumulate into reverb's accumulation buffer.
- writeIndex = m_accumulationBuffer->accumulate(temporaryBuffer, framesToProcess, &m_accumulationReadIndex, m_postDelayLength);
+ m_accumulationBuffer->accumulate(temporaryBuffer, framesToProcess, &m_accumulationReadIndex, m_postDelayLength);
}
// Finally copy input to pre-delay.
static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image)
{
- IntRect imageRect = image->rect();
context->drawImage(image, ColorSpaceDeviceRGB, rect);
return true;
}