Changeset 95333 in webkit


Ignore:
Timestamp:
Sep 16, 2011 4:24:34 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Set but not used variables cleanup (gcc 4.6)
https://bugs.webkit.org/show_bug.cgi?id=68157

Patch by Max Perepelitsyn <pph34r@gmail.com> on 2011-09-16
Reviewed by Darin Adler.

  • platform/audio/ReverbConvolverStage.cpp:

(WebCore::ReverbConvolverStage::process):

  • rendering/RenderMediaControlsChromium.cpp:

(WebCore::paintMediaButton):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r95331 r95333  
     12011-09-16  Max Perepelitsyn  <pph34r@gmail.com>
     2
     3        Set but not used variables cleanup (gcc 4.6)
     4        https://bugs.webkit.org/show_bug.cgi?id=68157
     5
     6        Reviewed by Darin Adler.
     7
     8        * platform/audio/ReverbConvolverStage.cpp:
     9        (WebCore::ReverbConvolverStage::process):
     10        * rendering/RenderMediaControlsChromium.cpp:
     11        (WebCore::paintMediaButton):
     12
    1132011-09-16  Geoffrey Garen  <ggaren@apple.com>
    214
  • trunk/Source/WebCore/platform/audio/ReverbConvolverStage.cpp

    r92408 r95333  
    123123        return;
    124124
    125     int writeIndex = 0;
    126 
    127125    if (m_framesProcessed < m_preDelayLength) {
    128126        // For the first m_preDelayLength frames don't process the convolver, instead simply buffer in the pre-delay.
     
    136134
    137135        // Now accumulate into reverb's accumulation buffer.
    138         writeIndex = m_accumulationBuffer->accumulate(temporaryBuffer, framesToProcess, &m_accumulationReadIndex, m_postDelayLength);
     136        m_accumulationBuffer->accumulate(temporaryBuffer, framesToProcess, &m_accumulationReadIndex, m_postDelayLength);
    139137    }
    140138
  • trunk/Source/WebCore/rendering/RenderMediaControlsChromium.cpp

    r88415 r95333  
    6464static bool paintMediaButton(GraphicsContext* context, const IntRect& rect, Image* image)
    6565{
    66     IntRect imageRect = image->rect();
    6766    context->drawImage(image, ColorSpaceDeviceRGB, rect);
    6867    return true;
Note: See TracChangeset for help on using the changeset viewer.