summaryrefslogtreecommitdiff
path: root/rdrand.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 /rdrand.cpp
parentfd2cbd39525834762d4a2d35da2f7595c8ec20f4 (diff)
downloadcryptopp-git-2b3349590fa655134ddcb1577d48186613f04029.tar.gz
Clear unreachable code warnings with early MSVC compilers
Diffstat (limited to 'rdrand.cpp')
-rw-r--r--rdrand.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/rdrand.cpp b/rdrand.cpp
index dd998cd1..5e90c897 100644
--- a/rdrand.cpp
+++ b/rdrand.cpp
@@ -24,6 +24,10 @@
/////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////
+#if CRYPTOPP_MSC_VERSION
+# pragma warning(disable: 4702)
+#endif
+
#if defined(CRYPTOPP_RDRAND_AVAILABLE)
# if defined(CRYPTOPP_MSC_VERSION)
# define MASM_RDRAND_ASM_AVAILABLE 1