diff options
author | Jack Lloyd <[email protected]> | 2017-03-22 14:03:33 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-03-22 14:03:33 -0400 |
commit | 9474d89970157f7a6c6bdc5044025170a90f27b2 (patch) | |
tree | 4cb26010af18abb7e485f9585c5572281d3c4971 /src/lib/utils | |
parent | cf02ab0b5f60296e44d5e957278b27a7333fae23 (diff) |
Fix some compiler warnings.
Diffstat (limited to 'src/lib/utils')
-rw-r--r-- | src/lib/utils/os_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/utils/os_utils.cpp b/src/lib/utils/os_utils.cpp index fe45ad82f..7bd9b842d 100644 --- a/src/lib/utils/os_utils.cpp +++ b/src/lib/utils/os_utils.cpp @@ -345,7 +345,7 @@ void botan_sigill_handler(int) int OS::run_cpu_instruction_probe(std::function<int ()> probe_fn) { - int probe_result = -3; + volatile int probe_result = -3; #if defined(BOTAN_TARGET_OS_TYPE_IS_UNIX) struct sigaction old_sigaction; |