diff options
| author | Tilka <tilkax@gmail.com> | 2021-07-18 03:01:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-18 03:01:43 +0100 |
| commit | baeeea8f53f04f3ddedf0a3e1d7dc996150b9b42 (patch) | |
| tree | ddeac8e4b1f5d3faf853cf8466c05412d9a48e55 /Source/Core/Common | |
| parent | d7a5558dc5784dfa849466be3f6dd88c108fe835 (diff) | |
| parent | e1bddd4c188e379ecb43ce16136235cb69e34325 (diff) | |
Merge pull request #9906 from shuffle2/msvc-warnings
remove msvc warnings which no longer fire, and DSP::Profiler
Diffstat (limited to 'Source/Core/Common')
| -rw-r--r-- | Source/Core/Common/Crypto/ec.cpp | 8 | ||||
| -rw-r--r-- | Source/Core/Common/SDCardUtil.cpp | 9 |
2 files changed, 0 insertions, 17 deletions
diff --git a/Source/Core/Common/Crypto/ec.cpp b/Source/Core/Common/Crypto/ec.cpp index 08a2aa00ea..6f2aa0b977 100644 --- a/Source/Core/Common/Crypto/ec.cpp +++ b/Source/Core/Common/Crypto/ec.cpp @@ -11,11 +11,6 @@ #include "Common/Random.h" #include "Common/StringUtil.h" -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable : 4505) -#endif - namespace Common::ec { static const u8 square[16] = {0x00, 0x01, 0x04, 0x05, 0x10, 0x11, 0x14, 0x15, @@ -298,7 +293,4 @@ std::array<u8, 60> ComputeSharedSecret(const u8* private_key, const u8* public_k std::copy_n(data.Data(), shared_secret.size(), shared_secret.begin()); return shared_secret; } -#ifdef _MSC_VER -#pragma warning(pop) -#endif } // namespace Common::ec diff --git a/Source/Core/Common/SDCardUtil.cpp b/Source/Core/Common/SDCardUtil.cpp index c3a8eec6d8..1a59913458 100644 --- a/Source/Core/Common/SDCardUtil.cpp +++ b/Source/Core/Common/SDCardUtil.cpp @@ -49,11 +49,6 @@ #include <unistd.h> // for unlink() #endif -#ifdef _MSC_VER -#pragma warning(push) -#pragma warning(disable : 4310) -#endif - namespace Common { // Believe me, you *don't* want to change these constants !! @@ -288,7 +283,3 @@ FailWrite: return false; } } // namespace Common - -#ifdef _MSC_VER -#pragma warning(pop) -#endif |
