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 }; }