summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-03 10:53:42 +0100
committerCarl Hetherington <cth@carlh.net>2020-12-03 10:53:42 +0100
commitdcd8bf5d1833a1859c73da94822e545d9708006d (patch)
tree2e412bbf4cd03331cca8357a8f9d420cbac0d93b /src/util.h
parentfd87fad1f1152892735d8a3e08c47847f5d83066 (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 56e649f..fbf0fa6 100644
--- a/src/util.h
+++ b/src/util.h
@@ -25,6 +25,8 @@
#include <boost/shared_ptr.hpp>
#include <string>
+#define LIBSUB_UNUSED(x) (void)(x)
+
namespace sub {
class Reader;