 Chromium Code Reviews
 Chromium Code Reviews Issue 354213002:
  Initialize value since calculateFinalValues may fail to do so.  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk
    
  
    Issue 354213002:
  Initialize value since calculateFinalValues may fail to do so.  (Closed) 
  Base URL: svn://svn.chromium.org/blink/trunk| Index: Source/modules/webaudio/AudioParam.cpp | 
| diff --git a/Source/modules/webaudio/AudioParam.cpp b/Source/modules/webaudio/AudioParam.cpp | 
| index 110059db07e49ded231a370b933d1ee455b67ad9..a356c93bd54eb64a41543fd3fec3b4fefca2d9e5 100644 | 
| --- a/Source/modules/webaudio/AudioParam.cpp | 
| +++ b/Source/modules/webaudio/AudioParam.cpp | 
| @@ -96,7 +96,7 @@ bool AudioParam::smooth() | 
| float AudioParam::finalValue() | 
| { | 
| - float value; | 
| + float value = m_value; | 
| calculateFinalValues(&value, 1, false); | 
| return value; | 
| } |