Bug 165069 - Fix unused-private-field build warning in WebKit2/Platform/SharedMemory.h
Summary: Fix unused-private-field build warning in WebKit2/Platform/SharedMemory.h
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-25 02:38 PST by Csaba Osztrogonác
Modified: 2016-11-27 10:14 PST (History)
1 user (show)

See Also:


Attachments
Patch (1.09 KB, patch)
2016-11-25 02:44 PST, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2016-11-25 02:38:57 PST
../../Source/WebKit2/Platform/SharedMemory.h:113:16: warning: private field 'm_protection' is not used [-Wunused-private-field]
    Protection m_protection;
               ^
1 warning generated.


m_protection is only used by SharedMemoryCocoa.cpp, but not used by SharedMemoryUnix.cpp
Comment 1 Csaba Osztrogonác 2016-11-25 02:44:03 PST
Created attachment 295420 [details]
Patch
Comment 2 WebKit Commit Bot 2016-11-27 10:14:56 PST
Comment on attachment 295420 [details]
Patch

Clearing flags on attachment: 295420

Committed r208990: <http://trac.webkit.org/changeset/208990>
Comment 3 WebKit Commit Bot 2016-11-27 10:14:59 PST
All reviewed patches have been landed.  Closing bug.