From 68762e6cf25b32805bec6ee3386ad7918be9448f Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Tue, 4 Sep 2012 11:54:02 +0200 Subject: [PATCH] Fixed two 'variable unused' warnings. --- BaseLib/logog/src/target.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BaseLib/logog/src/target.cpp b/BaseLib/logog/src/target.cpp index 7bc26943a0c..da9883e1feb 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 -- GitLab