Author: jfb Date: Wed Feb 4 14:25:57 2015 New Revision: 228183 URL: http://llvm.org/viewvc/llvm-project?rev=228183&view=rev Log: libc++: remove unused variable in random_device::operator()()
Reviewers: jvoung Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D7416 Modified: libcxx/trunk/src/random.cpp Modified: libcxx/trunk/src/random.cpp URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/src/random.cpp?rev=228183&r1=228182&r2=228183&view=diff ============================================================================== --- libcxx/trunk/src/random.cpp (original) +++ libcxx/trunk/src/random.cpp Wed Feb 4 14:25:57 2015 @@ -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) _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
