mirror of
git://sigrok.org/libserialport
synced 2023-08-10 21:13:24 +03:00
Avoid unused variable warning on non-Windows platforms.
This commit is contained in:
parent
954e81adaf
commit
64eec30d22
@ -563,5 +563,7 @@ void sp_free_error_message(char *message)
|
|||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
LocalFree(message);
|
LocalFree(message);
|
||||||
|
#else
|
||||||
|
(void)message;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user