diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:49:20 -0800 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-01-25 16:49:20 -0800 |
commit | 0a94399a052367da519c76d7dbdbe515193bc0a2 (patch) | |
tree | b36ca51348bbdad4b90b715d946bd90692dfb4ce /tests/unit_tests/memwipe.cpp | |
parent | Merge pull request #3078 (diff) | |
parent | fix for warning (diff) | |
download | monero-0a94399a052367da519c76d7dbdbe515193bc0a2.tar.xz |
Merge pull request #3082
8b50209c fix for warning (Onur Altun)
Diffstat (limited to 'tests/unit_tests/memwipe.cpp')
-rw-r--r-- | tests/unit_tests/memwipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit_tests/memwipe.cpp b/tests/unit_tests/memwipe.cpp index 59f50cef8..93dcc19f6 100644 --- a/tests/unit_tests/memwipe.cpp +++ b/tests/unit_tests/memwipe.cpp @@ -47,7 +47,7 @@ static void test(bool wipe) if ((intptr_t)quux == foop) { MDEBUG(std::hex << std::setw(8) << std::setfill('0') << *(uint32_t*)quux); - if (wipe) ASSERT_TRUE(memcmp(quux, "bar", 3)); + if (wipe) { ASSERT_TRUE(memcmp(quux, "bar", 3)); } } else MWARNING("We did not get the same location, cannot check"); free(quux); |