⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 136185 in webkit


Ignore:
Timestamp:
Nov 29, 2012, 4:48:59 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

Unused parameters on plugins/npapi.cpp
​https://bugs.webkit.org/show_bug.cgi?id=103676

Patch by KyungTae Kim <​ktf.kim@samsung.com> on 2012-11-29
Reviewed by Kentaro Hara.

Because 'instance' and 'menu' are not used when !PLATFORM(QT)
!defined(XP_MACOSX),

use UNUSED_PARAM macro to fix build warning -Wunused-parameter

  • plugins/npapi.cpp:

(NPN_PopUpContextMenu):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r136184 r136185  
     12012-11-29  KyungTae Kim  <ktf.kim@samsung.com>
     2
     3        Unused parameters on plugins/npapi.cpp
     4        https://bugs.webkit.org/show_bug.cgi?id=103676
     5
     6        Reviewed by Kentaro Hara.
     7
     8        Because 'instance' and 'menu' are not used when !PLATFORM(QT) || !defined(XP_MACOSX),
     9        use UNUSED_PARAM macro to fix build warning -Wunused-parameter
     10
     11        * plugins/npapi.cpp:
     12        (NPN_PopUpContextMenu):
     13
    1142012-11-29  Pablo Flouret  <pablof@motorola.com>
    215
  • trunk/Source/WebCore/plugins/npapi.cpp

    r136124 r136185  
    208208    return NPERR_NO_ERROR;
    209209#else
     210    UNUSED_PARAM(instance);
     211    UNUSED_PARAM(menu);
    210212    return NPERR_NO_ERROR;
    211213#endif // PLATFORM(QT) && defined(XP_MACOSX)
Note: See TracChangeset for help on using the changeset viewer.