mirror of
https://github.com/preble/libpinproc
synced 2026-02-22 18:15:25 +01:00
cleanup: quiet PRGetLastErrorText() compiler warning
This commit is contained in:
committed by
Gerry Stellenberg
parent
7c202fc2f4
commit
3b9d035fb5
@@ -351,7 +351,7 @@ PINPROC_API void PRLogSetCallback(PRLogCallback callback); /**< Replaces the def
|
|||||||
|
|
||||||
PINPROC_API void PRLogSetLevel(PRLogLevel level);
|
PINPROC_API void PRLogSetLevel(PRLogLevel level);
|
||||||
|
|
||||||
PINPROC_API const char *PRGetLastErrorText();
|
PINPROC_API const char *PRGetLastErrorText(void);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @defgroup device Device Creation & Deletion
|
* @defgroup device Device Creation & Deletion
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ void PRSetLastErrorText(const char *format, ...)
|
|||||||
PRLog(kPRLogError, "%s\n", lastErrorText);
|
PRLog(kPRLogError, "%s\n", lastErrorText);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *PRGetLastErrorText()
|
const char *PRGetLastErrorText(void)
|
||||||
{
|
{
|
||||||
return lastErrorText;
|
return lastErrorText;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user