[Webkit-unassigned] [Bug 133843] New: Clean up the WebKit build from unused parameter warning in Webkit2/UIProcess module

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 13 01:38:19 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=133843

           Summary: Clean up the WebKit build from unused parameter
                    warning in Webkit2/UIProcess module
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kumar.rohit at samsung.com


There is an unused parameter in WebKit2/UIProcess module(clean build for EFL port) in the function definition inside GenericCallback.h file.


[ 85%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp.o
[ 85%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/Geolocation/WebGeolocationManager.cpp.o
In file included from /home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/AutoCorrectionCallback.h:30:0,
                 from /home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.h:32,
                 from /home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:28:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::VoidCallback>]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4281:42:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
 void invalidateCallbackMap(HashMap<uint64_t, T>& map, CallbackBase::Error error = CallbackBase::Error::Unknown)
      ^
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::GenericCallback<API::Data*> >]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4282:42:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::ImageCallback>]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4283:43:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::GenericCallback<WTF::StringImpl*> >]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4284:44:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::GenericCallback<WebKit::WebSerializedScriptValue*> >]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4286:56:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::ComputedPagesCallback>]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4287:51:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::ValidateCommandCallback>]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4288:53:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::GenericCallback<long unsigned int> >]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4289:46:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::GenericCallback<WebKit::EditingRange> >]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4290:50:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h: In instantiation of ‘void WebKit::invalidateCallbackMap(WTF::HashMap<long unsigned int, T>&, WebKit::CallbackBase::Error) [with T = WTF::RefPtr<WebKit::RectForCharacterRangeCallback>]’:
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/WebPageProxy.cpp:4291:59:   required from here
/home/kumar.rohit/WebKit/Source/WebKit2/UIProcess/GenericCallback.h:281:6: warning: unused parameter ‘error’ [-Wunused-parameter]
[ 85%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/InjectedBundle/InjectedBundle.cpp.o
[ 85%] Building CXX object Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/InjectedBundle/InjectedBundleBackForwardList.cpp.o

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list