feat winpr: add WINPR_UNUSED macro

WINPR_UNUSED can be used to mark intentionally unused function parameters.
This commit is contained in:
Bernhard Miklautz 2017-12-11 15:15:02 +01:00
parent e3d45c4580
commit 389b7f218b
1 changed files with 2 additions and 0 deletions

View File

@ -71,4 +71,6 @@ WINPR_API const char* winpr_get_build_date(void);
WINPR_API const char* winpr_get_build_revision(void); WINPR_API const char* winpr_get_build_revision(void);
WINPR_API const char* winpr_get_build_config(void); WINPR_API const char* winpr_get_build_config(void);
#define WINPR_UNUSED(x) (void)(x)
#endif /* WINPR_H */ #endif /* WINPR_H */