Browse Source

DUK_UNREF() comment for volatile arguments

pull/1282/head
Sami Vaarala 8 years ago
parent
commit
a853c4935d
  1. 3
      config/header-snippets/compiler_fillins.h.in

3
config/header-snippets/compiler_fillins.h.in

@ -38,7 +38,8 @@
/* 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.
* it is unreferenced when debug printing is disabled. May cause warnings
* for volatile arguments.
*/
#define DUK_UNREF(x) do { (void) (x); } while (0)
#endif

Loading…
Cancel
Save