[vlc-devel] commit: macosx: Remove redudant test. ([nil xxx] is a nop). (Pierre d' Herbemont )

git version control git at videolan.org
Thu Aug 14 18:39:54 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Thu Aug 14 18:28:08 2008 +0200| [bc169be4d71fb27ebeb264729fd3113dc67a24ca] | committer: Pierre d'Herbemont 

macosx: Remove redudant test. ([nil xxx] is a nop).

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bc169be4d71fb27ebeb264729fd3113dc67a24ca
---

 modules/gui/macosx/simple_prefs.m |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/modules/gui/macosx/simple_prefs.m b/modules/gui/macosx/simple_prefs.m
index c670b91..7a388f3 100644
--- a/modules/gui/macosx/simple_prefs.m
+++ b/modules/gui/macosx/simple_prefs.m
@@ -65,8 +65,7 @@ static VLCSimplePrefs *_o_sharedInstance = nil;
     [o_hotkeyDescriptions release];
     [o_hotkeysNonUseableKeys release];
 
-    if( o_keyInTransition )
-        [o_keyInTransition release];
+    [o_keyInTransition release];
 
     [super dealloc];
 }




More information about the vlc-devel mailing list