From 504b2a638a0db12827a9ed4965677816e9d8b02c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ciar=C3=A1n=20Walsh?= Date: Wed, 25 Jun 2008 00:23:15 +0100 Subject: [PATCH] Sending messages to nil is always safe (a no-op) * Source/BSSourceView.m: (dealloc): Don't need to check and see if file is nil before [release] --- Source/BSSourceView.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/BSSourceView.m b/Source/BSSourceView.m index 70ced9a..489de2f 100644 --- a/Source/BSSourceView.m +++ b/Source/BSSourceView.m @@ -41,10 +41,7 @@ */ - (void)dealloc { - if (file != nil) - { - [file release]; - } + [file release]; [super dealloc]; } -- 2.22.5