Bug 145910 - Fix unused private field warning in ResourceHandleSoup.cpp
Summary: Fix unused private field warning in ResourceHandleSoup.cpp
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
URL:
Keywords:
Depends on:
Blocks: 145121
  Show dependency treegraph
 
Reported: 2015-06-12 02:47 PDT by Csaba Osztrogonác
Modified: 2015-06-12 10:00 PDT (History)
1 user (show)

See Also:


Attachments
Patch (1.68 KB, patch)
2015-06-12 02:48 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff
Patch (1.83 KB, patch)
2015-06-12 03:35 PDT, 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 2015-06-12 02:47:41 PDT
../../Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp:189:18: warning: private field 'm_session' is not used [-Wunused-private-field]
    SoupSession* m_session;

m_session i only used if !SOUP_CHECK_VERSION(2, 49, 91), so the 
declaration and the member initialization should be guarded too.
Comment 1 Csaba Osztrogonác 2015-06-12 02:48:29 PDT
Created attachment 254783 [details]
Patch
Comment 2 Csaba Osztrogonác 2015-06-12 03:35:53 PDT
Created attachment 254787 [details]
Patch
Comment 3 WebKit Commit Bot 2015-06-12 10:00:02 PDT
Comment on attachment 254787 [details]
Patch

Clearing flags on attachment: 254787

Committed r185510: <http://trac.webkit.org/changeset/185510>
Comment 4 WebKit Commit Bot 2015-06-12 10:00:06 PDT
All reviewed patches have been landed.  Closing bug.