From df85f0aead99283ed30ee8316c4d7a20d31c35dc Mon Sep 17 00:00:00 2001 From: alil Date: Sun, 2 Nov 2008 22:22:13 +0000 Subject: [PATCH] added some stuff to reduce compiler warnings of unused vars git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@224 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- include/NullLogger.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/NullLogger.h b/include/NullLogger.h index 7fa5c1eaf..b78a2e2d3 100644 --- a/include/NullLogger.h +++ b/include/NullLogger.h @@ -56,25 +56,25 @@ class ASSIMP_API NullLogger : public Logger { public: /** @brief Logs a debug message */ - void debug(const std::string &message) {} + void debug(const std::string &message) { (void)message;} //this avoids compiler warnings /** @brief Logs an info message */ - void info(const std::string &message) {} + void info(const std::string &message) {(void)message;} //this avoids compiler warnings /** @brief Logs a warning message */ - void warn(const std::string &message) {} + void warn(const std::string &message) {(void)message;} //this avoids compiler warnings /** @brief Logs an error message */ - void error(const std::string &message) {} + void error(const std::string &message) {(void)message;} //this avoids compiler warnings /** @brief Log severity setter */ - void setLogSeverity(LogSeverity log_severity) {} + void setLogSeverity(LogSeverity log_severity) {(void)log_severity;} //this avoids compiler warnings /** @brief Detach a still attached stream from logger */ - void attachStream(LogStream *pStream, unsigned int severity) {} + void attachStream(LogStream *pStream, unsigned int severity) {(void)pStream; (void)severity;} //this avoids compiler warnings /** @brief Detach a still attached stream from logger */ - void detatchStream(LogStream *pStream, unsigned int severity) {} + void detatchStream(LogStream *pStream, unsigned int severity) {(void)pStream; (void)severity;} //this avoids compiler warnings }; }