<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Use UNUSED_PARAM instead of the void casting to suppress unused parameter warnings"
   href="https://bugs.webkit.org/show_bug.cgi?id=143750#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Use UNUSED_PARAM instead of the void casting to suppress unused parameter warnings"
   href="https://bugs.webkit.org/show_bug.cgi?id=143750">bug 143750</a>
              from <span class="vcard"><a class="email" href="mailto:ossy&#64;webkit.org" title="Csaba Osztrogonác &lt;ossy&#64;webkit.org&gt;"> <span class="fn">Csaba Osztrogonác</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=250791&amp;action=diff" name="attach_250791" title="Patch">attachment 250791</a> <a href="attachment.cgi?id=250791&amp;action=edit" title="Patch">[details]</a></span>
Patch

Ouch, it's so ugly. :-/ Unfortunately we can't put UNUSED_PARAM to the same place as init list.

I think this one would be the least ugly solution

NotificationPermissionRequestManager::NotificationPermissionRequestManager(WebPage* page)
{
#if ENABLE(NOTIFICATIONS) || ENABLE(LEGACY_NOTIFICATIONS)
    m_page = page
#else
    UNUSED_PARAM(page);
#endif
}</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>