silence a warning
authorMitchell Livingston <livings124@transmissionbt.com>
Fri, 11 Mar 2011 01:58:44 +0000 (01:58 +0000)
committerMitchell Livingston <livings124@transmissionbt.com>
Fri, 11 Mar 2011 01:58:44 +0000 (01:58 +0000)
macosx/StatusBarController.m

index a66414bef9c6ac16294f0014b7b6dfb8bc29e6da..699feefefbb2e6c7ae394382a6addc290c396024 100644 (file)
@@ -50,7 +50,7 @@ typedef enum
 
 - (id) initWithLib: (tr_session *) lib
 {
-    if (self = [super initWithNibName: @"StatusBar" bundle: nil])
+    if ((self = [super initWithNibName: @"StatusBar" bundle: nil]))
     {
         fLib = lib;
     }