]> git.sesse.net Git - vlc/commitdiff
* removed unused, useless variable
authorFelix Paul Kühne <fkuehne@videolan.org>
Wed, 1 Mar 2006 21:08:17 +0000 (21:08 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Wed, 1 Mar 2006 21:08:17 +0000 (21:08 +0000)
modules/gui/macosx/update.h
modules/gui/macosx/update.m

index 542d767b0283afbce51bd2233430eceaeea96b9f..ab47b2bb059f8e309fe69c8a7de127373ac715f7 100644 (file)
@@ -37,7 +37,6 @@
 
     NSString * o_hashOfOurBinary;
     NSString * o_urlOfBinary;
-    NSNumber * o_indexOfOurBinary;
     update_t * p_u;
     intf_thread_t * p_intf;
 }
index f5654d4e6d2a1153ecd7d53bacf1fcc995bb36d4..b5783725fb35c6b846f604f14db6545181fb3e9b 100644 (file)
@@ -76,8 +76,6 @@ static VLCUpdate *_o_sharedInstance = nil;
         [o_hashOfOurBinary release];
     if( o_urlOfBinary )
         [o_urlOfBinary release];
-    if( o_indexOfOurBinary )
-        [o_indexOfOurBinary release];
 
     [super dealloc];
 }
@@ -175,10 +173,9 @@ static VLCUpdate *_o_sharedInstance = nil;
                 else if( p_uit->file.i_type == UPDATE_FILE_TYPE_BINARY )
                 {
                     msg_Dbg( p_intf, "binary found, version = %s" \
-                        ", hash=%s, size=%i MB, position in release file list=%i",\
-                        p_uit->release.psz_version, p_uit->file.psz_md5, \
-                        (int)((p_uit->file.l_size / 1024) / 1024), \
-                        p_uit->i_f);
+                        ", hash=%s, size=%i MB", p_uit->release.psz_version, \
+                        p_uit->file.psz_md5, \
+                        (int)((p_uit->file.l_size / 1024) / 1024) );
                     [o_fld_currentVersionAndSize setStringValue: \
                         [NSString stringWithFormat: \
                         @"The current release is %s (%i MB to download).", \
@@ -198,14 +195,6 @@ static VLCUpdate *_o_sharedInstance = nil;
                         o_hashOfOurBinary = [[NSString alloc] \
                             initWithUTF8String: p_uit->file.psz_md5];
                     }
-                    
-                    if( p_uit->i_f )
-                    {
-                        if( o_indexOfOurBinary )
-                            [o_indexOfOurBinary release];
-                        o_indexOfOurBinary = [[NSNumber alloc] \
-                            initWithInt: p_uit->i_f];
-                    }
                 }
                 if( p_uit->release.i_status == UPDATE_RELEASE_STATUS_NEWER &&
                     !releaseChecked )