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-9d2fd5bffc1fpull/1/head
parent
49b66d47dc
commit
df85f0aead
|
@ -56,25 +56,25 @@ class ASSIMP_API NullLogger : public Logger
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** @brief Logs a debug message */
|
/** @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 */
|
/** @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 */
|
/** @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 */
|
/** @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 */
|
/** @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 */
|
/** @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 */
|
/** @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
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue