[Webkit-unassigned] [Bug 143750] Use UNUSED_PARAM instead of the void casting to suppress unused parameter warnings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 15 08:04:16 PDT 2015


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

Csaba Osztrogonác <ossy at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #250781|review?                     |review-
              Flags|                            |

--- Comment #3 from Csaba Osztrogonác <ossy at webkit.org> ---
Comment on attachment 250781
  --> https://bugs.webkit.org/attachment.cgi?id=250781
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=250781&action=review

> Source/WebKit2/WebProcess/Notifications/NotificationPermissionRequestManager.cpp:65
> +    UNUSED_PARAM(page);

Using UNUSED_PARAM(page) unconditionally is incorrect, it should be in 
the #else case of ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150415/5194d0f3/attachment.html>


More information about the webkit-unassigned mailing list