diff options
Diffstat (limited to 'src/driver.h')
-rw-r--r-- | src/driver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver.h b/src/driver.h index c05bfd2f8..640fc9c21 100644 --- a/src/driver.h +++ b/src/driver.h @@ -79,7 +79,7 @@ protected: strecpy(buf, GetDriverTypeName(type), lastof(buf)); strecpy(buf + 5, name, lastof(buf)); -#if !defined(NDEBUG) +#if !defined(NDEBUG) || defined(WITH_ASSERT) /* NDEBUG disables asserts and gives a warning: unused variable 'P' */ std::pair<Drivers::iterator, bool> P = #endif /* !NDEBUG */ |