diff --git a/include/internal/catch_generators.hpp b/include/internal/catch_generators.hpp index e02691cf..71ae5e38 100644 --- a/include/internal/catch_generators.hpp +++ b/include/internal/catch_generators.hpp @@ -98,7 +98,6 @@ public: index += generator->size(); } CATCH_INTERNAL_ERROR( "Indexed past end of generated range" ); - return T(); // Suppress spurious "not all control paths return a value" warning in Visual Studio - if you know how to fix this please do so } void add( const IGenerator* generator ) {