summaryrefslogtreecommitdiff
path: root/src/logger.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2021-11-23 09:01:00 +0100
committerJoel Klinghed <the_jk@spawned.biz>2021-11-23 09:01:00 +0100
commit86bb5d6cf52d1bcdc854eb30e9729d7425a9971b (patch)
tree16e73feda982d90f98134fceb4d96236251c2013 /src/logger.hh
parent29dbb89fcec55d24bc3bfff0aee6254d1db756e4 (diff)
Avoid warnings in logger.hh when NDEBUG is defined
Diffstat (limited to 'src/logger.hh')
-rw-r--r--src/logger.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.hh b/src/logger.hh
index 47bbedd..3d5fd0d 100644
--- a/src/logger.hh
+++ b/src/logger.hh
@@ -35,7 +35,7 @@ public:
= 0;
#ifdef NDEBUG
- void dbg(char const* format, ...)
+ void dbg(char const*, ...)
#if HAVE_ATTRIBUTE_FORMAT
__attribute__((format(printf, 2, 3)))
#endif // HAVE_ATTRIBUTE_FORMAT