Bug 139031 - Fix unused variable warning in Biquad.cpp
Summary: Fix unused variable warning in Biquad.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Éva Balázsfalvi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-24 12:40 PST by Éva Balázsfalvi
Modified: 2014-11-24 23:41 PST (History)
6 users (show)

See Also:


Attachments
Patch (1.05 KB, patch)
2014-11-24 12:43 PST, Éva Balázsfalvi
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Éva Balázsfalvi 2014-11-24 12:40:07 PST
kBufferSize is only used within OS(DARWIN) guard, so its declaration should be guarded too.

warning:
../../Source/WebCore/platform/audio/Biquad.cpp:48:11: warning: unused variable 'kBufferSize' [-Wunused-const-variable]
const int kBufferSize = 1024;
          ^
1 warning generated.
Comment 1 Éva Balázsfalvi 2014-11-24 12:43:52 PST
Created attachment 242168 [details]
Patch
Comment 2 Andreas Kling 2014-11-24 16:02:21 PST
Comment on attachment 242168 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2014-11-24 23:41:12 PST
Comment on attachment 242168 [details]
Patch

Clearing flags on attachment: 242168

Committed r176537: <http://trac.webkit.org/changeset/176537>
Comment 4 WebKit Commit Bot 2014-11-24 23:41:15 PST
All reviewed patches have been landed.  Closing bug.