From 5347683c8ecc87e59f6f974f3953d8e2badaf606 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 18 Jul 2003 04:17:30 +0000 Subject: [PATCH] Remove return statement from operator new to see who screams about it [SVN r19178] --- test/stateless_test.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/test/stateless_test.cpp b/test/stateless_test.cpp index 038ce6f..8fe3213 100644 --- a/test/stateless_test.cpp +++ b/test/stateless_test.cpp @@ -25,7 +25,6 @@ struct stateless_integer_add { { static int foo = 5; throw std::runtime_error("Cannot allocate a stateless_integer_add"); - return &foo; // suppress warnings } void operator delete(void*, stateless_integer_add*) throw()