summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-27 11:04:34 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-27 11:04:34 +0200
commiteea26eb0c876c8ef0e91c3f96a175261a8017778 (patch)
tree669c5493c41d5e8f4a454c81b7c4ebcb41b0e5bf /src/util.h
parent09d3fd999cd9dae6e5b9b3db69af3452ab0fadf2 (diff)
Fix some unused variable warnings.
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 85b58286..b6683265 100644
--- a/src/util.h
+++ b/src/util.h
@@ -48,6 +48,8 @@
#include <string>
#include <stdint.h>
+#define LIBDCP_UNUSED(x) (void)(x)
+
namespace xmlpp {
class Element;
class Node;