From a601bb2853e1e595437b9250fe51df929d296c2e Mon Sep 17 00:00:00 2001 From: ayers Date: Fri, 4 Jun 2004 13:19:42 +0000 Subject: [PATCH] * Source/GSSet.m (-[GSMutableSet unionSet:]): Remove redundant test. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@19456 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Source/GSSet.m | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4c4f66c85..a8075e0e5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-06-03 David Ayers + + * Source/GSSet.m (-[GSMutableSet unionSet:]): Remove redundant + test. + 2004-06-03 Adam Fedor * Source/cifframe.h: Move ffi.h include to fix compile problem on diff --git a/Source/GSSet.m b/Source/GSSet.m index 838874e37..588f816e3 100644 --- a/Source/GSSet.m +++ b/Source/GSSet.m @@ -670,11 +670,6 @@ static Class mutableSetClass; { GSIMapNode node; - if (anObject == nil) - { - [NSException raise: NSInvalidArgumentException - format: @"Tried to add nil to set"]; - } node = GSIMapNodeForKey(&map, (GSIMapKey)anObject); if (node == 0) {