]> sigrok.org Git - libserialport.git/commitdiff
Avoid unused variable warning on non-Windows platforms.
authorMartin Ling <redacted>
Sat, 27 Apr 2013 23:17:46 +0000 (00:17 +0100)
committerMartin Ling <redacted>
Sun, 27 Oct 2013 10:56:31 +0000 (10:56 +0000)
serialport.c

index 781fbdec0e8cea83fe31b45bd1386e36dbab3297..c53a639008fa19e0543d9ea77ced7c19c8c18da4 100644 (file)
@@ -563,5 +563,7 @@ void sp_free_error_message(char *message)
 {
 #ifdef _WIN32
        LocalFree(message);
+#else
+       (void)message;
 #endif
 }