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
pull/1/head
alil 2008-11-02 22:22:13 +00:00
parent 49b66d47dc
commit df85f0aead
1 changed files with 7 additions and 7 deletions

View File

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