diff options
author | lloyd <[email protected]> | 2013-07-19 15:49:43 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-07-19 15:49:43 +0000 |
commit | 21fb81c0aa42dad874b2844804b12e69f80cd41a (patch) | |
tree | 935242005d4c336f4fabf0a263b7d49f981ec3e6 | |
parent | 4e8eb70640bb3768ab434add374bdf6f8455d2ec (diff) |
Avoid uninitialized variable warning for rdrand output var
-rw-r--r-- | src/entropy/rdrand/rdrand.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entropy/rdrand/rdrand.cpp b/src/entropy/rdrand/rdrand.cpp index 51b2bd5f6..0dae697c8 100644 --- a/src/entropy/rdrand/rdrand.cpp +++ b/src/entropy/rdrand/rdrand.cpp @@ -40,7 +40,7 @@ void Intel_Rdrand::poll(Entropy_Accumulator& accum) for(size_t i = 0; i != RDRAND_POLLS; ++i) { - unsigned int r; + unsigned int r = 0; #if BOTAN_USE_GCC_INLINE_ASM int cf = 0; |