Commit 73ae1440 authored by Rémi Duraffort's avatar Rémi Duraffort

update: remove spurious asprintf (the string is not used).

parent 911b23af
...@@ -531,7 +531,7 @@ static void* update_DownloadReal( vlc_object_t *p_this ) ...@@ -531,7 +531,7 @@ static void* update_DownloadReal( vlc_object_t *p_this )
long int l_size; long int l_size;
long int l_downloaded = 0; long int l_downloaded = 0;
float f_progress; float f_progress;
char *psz_status = NULL; char *psz_status;
char *psz_downloaded = NULL; char *psz_downloaded = NULL;
char *psz_size = NULL; char *psz_size = NULL;
char *psz_destfile = NULL; char *psz_destfile = NULL;
...@@ -632,13 +632,8 @@ static void* update_DownloadReal( vlc_object_t *p_this ) ...@@ -632,13 +632,8 @@ static void* update_DownloadReal( vlc_object_t *p_this )
if( vlc_object_alive( p_udt ) && if( vlc_object_alive( p_udt ) &&
!dialog_ProgressCancelled( p_progress ) ) !dialog_ProgressCancelled( p_progress ) )
{ {
if( asprintf( &psz_status, _("%s\nDone %s (100.0%%)"), dialog_ProgressDestroy( p_progress );
p_update->release.psz_url, psz_size ) != -1 ) p_progress = NULL;
{
dialog_ProgressDestroy( p_progress );
p_progress = NULL;
free( psz_status );
}
} }
else else
{ {
......
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