Fix unused parameter compile warnings in WebKit/WebKit2
[WebKit-https.git] / Source / WebKit2 / UIProcess / GeolocationPermissionRequestManagerProxy.cpp
index 71beaf5..eb06c29 100644 (file)
@@ -65,6 +65,8 @@ void GeolocationPermissionRequestManagerProxy::didReceiveGeolocationPermissionDe
 
 #if ENABLE(GEOLOCATION)
     m_page->process()->send(Messages::WebPage::DidReceiveGeolocationPermissionDecision(geolocationID, allowed), m_page->pageID());
+#else
+    UNUSED_PARAM(allowed);
 #endif
 
     m_pendingRequests.remove(it);