mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
413 B
12 lines
413 B
/*
|
|
* Macro for suppressing warnings for potentially unreferenced variables.
|
|
* The variables can be actually unreferenced or unreferenced in some
|
|
* specific cases only; for instance, if a variable is only debug printed,
|
|
* it is unreferenced when debug printing is disabled.
|
|
*
|
|
* (Introduced here because it's potentially compiler specific.)
|
|
*/
|
|
|
|
#define DUK_UNREF(x) do { \
|
|
(void) (x); \
|
|
} while (0)
|
|
|