Bug 145910

Summary: Fix unused private field warning in ResourceHandleSoup.cpp
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 145121    
Attachments:
Description Flags
Patch
none
Patch none

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.