mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Avoid gcc unused argument warning in NvPerfUtility
This commit is contained in:
committed by
Baldur Karlsson
parent
42243597c4
commit
197a8dd4d7
@@ -107,9 +107,10 @@ namespace nv { namespace perf {
|
||||
#else // !defined(_WIN32)
|
||||
typedef struct timeval LogTimeStamp;
|
||||
|
||||
inline void UserLogImplPlatform(const char* pMessage)
|
||||
inline void UserLogImplPlatform(const char* /* pMessage */)
|
||||
{
|
||||
(void*)pMessage;
|
||||
// FIXME: gcc complains that pMessage is not used
|
||||
//(void*)pMessage;
|
||||
}
|
||||
|
||||
inline void GetTimeStamp(LogTimeStamp* pTimestamp)
|
||||
|
||||
Reference in New Issue
Block a user