1
0
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:
Martin Ling 2013-04-28 00:17:46 +01:00
parent 954e81adaf
commit 64eec30d22

View File

@ -563,5 +563,7 @@ void sp_free_error_message(char *message)
{ {
#ifdef _WIN32 #ifdef _WIN32
LocalFree(message); LocalFree(message);
#else
(void)message;
#endif #endif
} }