diff options
Diffstat (limited to 'src/blitter')
-rw-r--r-- | src/blitter/factory.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blitter/factory.hpp b/src/blitter/factory.hpp index 494925613..8bb232e28 100644 --- a/src/blitter/factory.hpp +++ b/src/blitter/factory.hpp @@ -41,7 +41,7 @@ protected: if (name == NULL) return; this->name = strdup(name); -#if !defined(NDEBUG) +#if !defined(NDEBUG) || defined(WITH_ASSERT) /* NDEBUG disables asserts and gives a warning: unused variable 'P' */ std::pair<Blitters::iterator, bool> P = #endif /* !NDEBUG */ |