diff options
author | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2010-10-01 14:35:58 -0700 |
---|---|---|
committer | Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> | 2010-10-02 00:28:23 -0700 |
commit | 900165d9001c1c3428288a6f656ca6127eba027b (patch) | |
tree | 0e7ed6568d73688af03bb22d535181079613c95c | |
parent | 5b04cc2727667fbd4ed5b69776eb92b716d64734 (diff) |
cleanup: remove more #pragmas that cause warnings to no use
Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
5 files changed, 8 insertions, 15 deletions
diff --git a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlparse.c b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlparse.c index 9064abf..ba4df8e 100644 --- a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlparse.c +++ b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlparse.c @@ -1,8 +1,8 @@ /* Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd See the file COPYING for copying permission. */ -#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning -#pragma warning(disable:4244) // disable the "conversion from 'int' to 'XML_Bool', possible loss of data" warning +//#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning +//#pragma warning(disable:4244) // disable the "conversion from 'int' to 'XML_Bool', possible loss of data" warning #include <stddef.h> #include <string.h> /* memset(), memcpy() */ diff --git a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlrole.c b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlrole.c index 77e9bb6..3e54f58 100644 --- a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlrole.c +++ b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmlrole.c @@ -1,7 +1,7 @@ /* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd See the file COPYING for copying permission. */ -#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning +//#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning #ifdef COMPILED_FROM_DSP diff --git a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok.c b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok.c index 1ac0c4e..f787539 100644 --- a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok.c +++ b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok.c @@ -1,8 +1,8 @@ /* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd See the file COPYING for copying permission. */ -#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning -#pragma warning(disable:4244) // disable the "conversion from 'int' to 'char', possible loss of data" warning +//#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning +//#pragma warning(disable:4244) // disable the "conversion from 'int' to 'char', possible loss of data" warning #ifdef COMPILED_FROM_DSP #include "winconfig.h" diff --git a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok_impl.c b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok_impl.c index 93ebc4a..9d44e62 100644 --- a/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok_impl.c +++ b/InfraStack/OSAgnostic/Common/CommonServices/XmlParser/eXpat/xmltok_impl.c @@ -1,8 +1,8 @@ /* Copyright (c) 1998, 1999 Thai Open Source Software Center Ltd See the file COPYING for copying permission. */ -#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning -#pragma warning(disable:4127) // disable the "conditional expression is constant" warning +//#pragma warning(disable:4100) // disable the "unreferenced formal parameter" warning +//#pragma warning(disable:4127) // disable the "conditional expression is constant" warning #ifndef IS_INVALID_CHAR #define IS_INVALID_CHAR(enc, ptr, n) (0) #endif diff --git a/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/wmxSDK_Sup_Impl.c b/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/wmxSDK_Sup_Impl.c index 3bcf6ff..bb19f92 100644 --- a/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/wmxSDK_Sup_Impl.c +++ b/InfraStack/OSAgnostic/WiMax/Wrappers/Supplicant/wmxSDK_Sup_Impl.c @@ -58,13 +58,6 @@ so we use symlink to actual supplicant tls.h */ #include "tls-wpa.h" #endif -static void __keep_silence(void) {} -#ifdef NATIVE_WINDOWS -#define SUPPLICANT_LOG (!wpa_logproc_ptr) ? __keep_silence() : wpa_logproc_ptr -#else - - -#endif #ifndef WPA_OPEN_SOURCE /* temporary, remove*/ @@ -1106,7 +1099,7 @@ void *wmx_GetTlsFunctionTable(int param) } #endif //WPA_OPEN_SOURCE -#pragma warning (disable:4100) +//#pragma warning (disable:4100) typedef TLSOperationRequest_type tTLSOperationRequest; |