diff --git a/libs/srtp/crypto/cipher/aes_icm.c b/libs/srtp/crypto/cipher/aes_icm.c
index 3219a15778..e38038269e 100644
--- a/libs/srtp/crypto/cipher/aes_icm.c
+++ b/libs/srtp/crypto/cipher/aes_icm.c
@@ -49,9 +49,6 @@
#include "aes_icm.h"
#include "alloc.h"
-#ifdef _MSC_VER
-#pragma warning(disable:4100)
-#endif
debug_module_t mod_aes_icm = {
0, /* debugging is off by default */
diff --git a/libs/srtp/crypto/cipher/null_cipher.c b/libs/srtp/crypto/cipher/null_cipher.c
index d99a0e85af..ca38f72318 100644
--- a/libs/srtp/crypto/cipher/null_cipher.c
+++ b/libs/srtp/crypto/cipher/null_cipher.c
@@ -48,9 +48,6 @@
#include "null_cipher.h"
#include "alloc.h"
-#ifdef _MSC_VER
-#pragma warning(disable:4100)
-#endif
/* the null_cipher uses the cipher debug module */
diff --git a/libs/srtp/crypto/hash/null_auth.c b/libs/srtp/crypto/hash/null_auth.c
index 1fa2660840..5d810dd5b7 100644
--- a/libs/srtp/crypto/hash/null_auth.c
+++ b/libs/srtp/crypto/hash/null_auth.c
@@ -48,9 +48,6 @@
#include "null_auth.h"
#include "alloc.h"
-#ifdef _MSC_VER
-#pragma warning(disable:4100)
-#endif
/* null_auth uses the auth debug module */
diff --git a/libs/srtp/crypto/kernel/err.c b/libs/srtp/crypto/kernel/err.c
index 6b00e7b877..4a3a8589e9 100644
--- a/libs/srtp/crypto/kernel/err.c
+++ b/libs/srtp/crypto/kernel/err.c
@@ -50,9 +50,6 @@
# endif
#endif
-#ifdef _MSC_VER
-#pragma warning(disable:4100)
-#endif
/* err_level reflects the level of errors that are reported */
diff --git a/libs/srtp/crypto/replay/ut_sim.c b/libs/srtp/crypto/replay/ut_sim.c
index 465e8c85ca..837aad7a3c 100644
--- a/libs/srtp/crypto/replay/ut_sim.c
+++ b/libs/srtp/crypto/replay/ut_sim.c
@@ -47,10 +47,6 @@
#include "ut_sim.h"
-#ifdef _MSC_VER
-#pragma warning(disable:4100)
-#endif
-
int
ut_compar(const void *a, const void *b) {
return rand() > (RAND_MAX/2) ? -1 : 1;
diff --git a/libs/srtp/libsrtp.2010.vcxproj b/libs/srtp/libsrtp.2010.vcxproj
index 554e943fe0..5d3109b5f0 100644
--- a/libs/srtp/libsrtp.2010.vcxproj
+++ b/libs/srtp/libsrtp.2010.vcxproj
@@ -136,6 +136,7 @@
false
Level4
true
+ 4305;4100;%(DisableSpecificWarnings)
@@ -156,6 +157,7 @@
Default
Level4
false
+ 4305;4100;%(DisableSpecificWarnings)
@@ -170,6 +172,7 @@
Default
Level4
true
+ 4305;4100;%(DisableSpecificWarnings)
@@ -187,6 +190,7 @@
Default
Level4
false
+ 4305;4100;%(DisableSpecificWarnings)
diff --git a/libs/srtp/libsrtp.2012.vcxproj b/libs/srtp/libsrtp.2012.vcxproj
index 8a8eb41f27..42f7548784 100644
--- a/libs/srtp/libsrtp.2012.vcxproj
+++ b/libs/srtp/libsrtp.2012.vcxproj
@@ -144,7 +144,7 @@
false
Level4
true
- 4305;%(DisableSpecificWarnings)
+ 4305;4100;%(DisableSpecificWarnings)
@@ -165,7 +165,7 @@
Default
Level4
false
- 4305;%(DisableSpecificWarnings)
+ 4305;4100;%(DisableSpecificWarnings)
@@ -180,7 +180,7 @@
Default
Level4
true
- 4305;%(DisableSpecificWarnings)
+ 4305;4100;%(DisableSpecificWarnings)
@@ -198,7 +198,7 @@
Default
Level4
false
- 4305;%(DisableSpecificWarnings)
+ 4305;4100;%(DisableSpecificWarnings)
diff --git a/libs/srtp/srtp/ekt.c b/libs/srtp/srtp/ekt.c
index 1cfd21f2cd..4b3d95b2f7 100644
--- a/libs/srtp/srtp/ekt.c
+++ b/libs/srtp/srtp/ekt.c
@@ -47,9 +47,6 @@
#include "srtp_priv.h"
#include "ekt.h"
-#ifdef _MSC_VER
-#pragma warning(disable:4100)
-#endif
extern debug_module_t mod_srtp;