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

* removed unused, useless variable

parent dacaa81b
......@@ -37,7 +37,6 @@
NSString * o_hashOfOurBinary;
NSString * o_urlOfBinary;
NSNumber * o_indexOfOurBinary;
update_t * p_u;
intf_thread_t * p_intf;
}
......
......@@ -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 )
......
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