Changeset 147882 in webkit
- Timestamp:
- Apr 7, 2013 3:09:45 PM (11 years ago)
- Location:
- trunk/Source/WTF
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r147881 r147882 1 2013-04-07 Patrick Gansterer <paroga@webkit.org> 2 3 [WinCE] Add workaround for UNUSED_PARAM() 4 https://bugs.webkit.org/show_bug.cgi?id=113440 5 6 Reviewed by Benjamin Poulain. 7 8 The MSVC compiler for Windwos CE throws an error when 9 an function parameter is passed to UNUSED_PARAM() and 10 its type is only forward declared. 11 12 * wtf/UnusedParam.h: 13 1 14 2013-04-07 Patrick Gansterer <paroga@webkit.org> 2 15 -
trunk/Source/WTF/wtf/UnusedParam.h
r128015 r147882 28 28 inline void unusedParam(T& x) { (void)x; } 29 29 #define UNUSED_PARAM(variable) unusedParam(variable) 30 #elif COMPILER(MSVC) && OS(WINCE) 31 #define UNUSED_PARAM(variable) (void)&variable 30 32 #else 31 33 #define UNUSED_PARAM(variable) (void)variable
Note: See TracChangeset
for help on using the changeset viewer.