Bug 97137

Summary: Warning in SandboxExtension.h if WEB_PROCESS_SANDBOX is not enabled
Product: WebKit Reporter: Pratik Solanki <psolanki>
Component: WebKit2Assignee: Pratik Solanki <psolanki>
Severity: Normal CC: benjamin, psolanki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Description Flags
Patch benjamin: review+

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]
Comment 2 Pratik Solanki 2012-09-19 15:23:29 PDT
Committed r129049: <http://trac.webkit.org/changeset/129049>