summaryrefslogtreecommitdiffstats
path: root/libcxx/src
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src')
-rw-r--r--libcxx/src/random.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcxx/src/random.cpp b/libcxx/src/random.cpp
index 15ed65b58cf..0a1d2a58636 100644
--- a/libcxx/src/random.cpp
+++ b/libcxx/src/random.cpp
@@ -70,7 +70,6 @@ random_device::operator()()
{
unsigned r;
size_t n = sizeof(r);
- char* p = reinterpret_cast<char*>(&r);
size_t bytes_written;
int error = nacl_secure_random(&r, n, &bytes_written);
if (error != 0)
OpenPOWER on IntegriCloud