Bug 97137 - Warning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
Summary: Warning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Pratik Solanki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-19 15:11 PDT by Pratik Solanki
Modified: 2012-09-19 15:23 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.35 KB, patch)
2012-09-19 15:17 PDT, Pratik Solanki
benjamin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pratik Solanki 2012-09-19 15:11:04 PDT
When WEB_PROCESS_SANDBOX is not enabled, the field m_size is never used. In this case the compiler gives the following warning

Source/WebKit2/Shared/SandboxExtension.h:90:16: error: private field 'm_size' is not used [-Werror,-Wunused-private-field]
        size_t m_size;
               ^
1 error generated.
Comment 1 Pratik Solanki 2012-09-19 15:17:06 PDT
Created attachment 164783 [details]
Patch
Comment 2 Pratik Solanki 2012-09-19 15:23:29 PDT
Committed r129049: <http://trac.webkit.org/changeset/129049>