diff --git a/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp b/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp index d4991573..da84592f 100644 --- a/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp +++ b/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array.pass.cpp @@ -23,7 +23,6 @@ int delete_nothrow_called = 0; void operator delete[](void* p) throw() { ++delete_called; - delete_nothrow_called; std::free(p); } diff --git a/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp b/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp index 82dc9606..2d7b7422 100644 --- a/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp +++ b/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete.pass.cpp @@ -23,7 +23,6 @@ int delete_nothrow_called = 0; void operator delete(void* p) throw() { ++delete_called; - delete_nothrow_called; std::free(p); }