diff --git a/BaseLib/logog/src/target.cpp b/BaseLib/logog/src/target.cpp
index 7bc26943a0c5f7d3079e76418024b48b567d0e4b..da9883e1feb8c6b526bc7569d9a541b8212d0ce0 100644
--- a/BaseLib/logog/src/target.cpp
+++ b/BaseLib/logog/src/target.cpp
@@ -1,4 +1,4 @@
- /* 
+ /*
  * \file target.cpp
  */
 
@@ -74,6 +74,8 @@ namespace logog {
 #else
 		OutputDebugStringA( (const LOGOG_CHAR *)data );
 #endif // LOGOG_UNICODE
+#else
+		(void)data;
 #endif // LOGOG_FLAVOR_WINDOWS
 		return 0;
 	}
@@ -125,6 +127,7 @@ namespace logog {
 #ifdef LOGOG_FLAVOR_WINDOWS
 		nError = fopen_s( &fpTest, m_pFileName, "r"); // ignore the error code
 #else // LOGOG_FLAVOR_WINDOWS
+		(void)nError; // Unused
 		fpTest = fopen( m_pFileName, "r");
 #endif // LOGOG_FLAVOR_WINDOWS