Commit ce97a5d9 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* removed unused, useless variable

parent dacaa81b
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
NSString * o_hashOfOurBinary; NSString * o_hashOfOurBinary;
NSString * o_urlOfBinary; NSString * o_urlOfBinary;
NSNumber * o_indexOfOurBinary;
update_t * p_u; update_t * p_u;
intf_thread_t * p_intf; intf_thread_t * p_intf;
} }
......
...@@ -76,8 +76,6 @@ static VLCUpdate *_o_sharedInstance = nil; ...@@ -76,8 +76,6 @@ static VLCUpdate *_o_sharedInstance = nil;
[o_hashOfOurBinary release]; [o_hashOfOurBinary release];
if( o_urlOfBinary ) if( o_urlOfBinary )
[o_urlOfBinary release]; [o_urlOfBinary release];
if( o_indexOfOurBinary )
[o_indexOfOurBinary release];
[super dealloc]; [super dealloc];
} }
...@@ -175,10 +173,9 @@ static VLCUpdate *_o_sharedInstance = nil; ...@@ -175,10 +173,9 @@ static VLCUpdate *_o_sharedInstance = nil;
else if( p_uit->file.i_type == UPDATE_FILE_TYPE_BINARY ) else if( p_uit->file.i_type == UPDATE_FILE_TYPE_BINARY )
{ {
msg_Dbg( p_intf, "binary found, version = %s" \ msg_Dbg( p_intf, "binary found, version = %s" \
", hash=%s, size=%i MB, position in release file list=%i",\ ", hash=%s, size=%i MB", p_uit->release.psz_version, \
p_uit->release.psz_version, p_uit->file.psz_md5, \ p_uit->file.psz_md5, \
(int)((p_uit->file.l_size / 1024) / 1024), \ (int)((p_uit->file.l_size / 1024) / 1024) );
p_uit->i_f);
[o_fld_currentVersionAndSize setStringValue: \ [o_fld_currentVersionAndSize setStringValue: \
[NSString stringWithFormat: \ [NSString stringWithFormat: \
@"The current release is %s (%i MB to download).", \ @"The current release is %s (%i MB to download).", \
...@@ -198,14 +195,6 @@ static VLCUpdate *_o_sharedInstance = nil; ...@@ -198,14 +195,6 @@ static VLCUpdate *_o_sharedInstance = nil;
o_hashOfOurBinary = [[NSString alloc] \ o_hashOfOurBinary = [[NSString alloc] \
initWithUTF8String: p_uit->file.psz_md5]; 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 && if( p_uit->release.i_status == UPDATE_RELEASE_STATUS_NEWER &&
!releaseChecked ) !releaseChecked )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment