[libcxx] r233816 - Remove statement with no effect inside tests.
Eric Fiselier
eric at efcs.ca
Wed Apr 1 08:49:02 PDT 2015
Author: ericwf
Date: Wed Apr 1 10:49:02 2015
New Revision: 233816
URL: http://llvm.org/viewvc/llvm-project?rev=233816&view=rev
Log:
Remove statement with no effect inside tests.
Modified:
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp
libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp?rev=233816&r1=233815&r2=233816&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp Wed Apr 1 10:49:02 2015
@@ -23,7 +23,6 @@ int delete_nothrow_called = 0;
void operator delete[](void* p) throw()
{
++delete_called;
- delete_nothrow_called;
std::free(p);
}
Modified: libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp?rev=233816&r1=233815&r2=233816&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp Wed Apr 1 10:49:02 2015
@@ -23,7 +23,6 @@ int delete_nothrow_called = 0;
void operator delete(void* p) throw()
{
++delete_called;
- delete_nothrow_called;
std::free(p);
}
More information about the cfe-commits
mailing list