summaryrefslogtreecommitdiff
path: root/sm4.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-03 06:41:46 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-03 06:41:46 -0400
commit2b3349590fa655134ddcb1577d48186613f04029 (patch)
tree41d337679b5de283748fc863c2b6c9571b3a5445 /sm4.cpp
parentfd2cbd39525834762d4a2d35da2f7595c8ec20f4 (diff)
downloadcryptopp-git-2b3349590fa655134ddcb1577d48186613f04029.tar.gz
Clear unreachable code warnings with early MSVC compilers
Diffstat (limited to 'sm4.cpp')
-rw-r--r--sm4.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sm4.cpp b/sm4.cpp
index 2c92883e..ad7f3222 100644
--- a/sm4.cpp
+++ b/sm4.cpp
@@ -11,6 +11,10 @@
#include "misc.h"
#include "cpu.h"
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(disable: 4307)
+#endif
+
ANONYMOUS_NAMESPACE_BEGIN
using CryptoPP::byte;