repo: Really ignore progress changed user data

The documentation says this is ignored, implying that you should pass
NULL to it. However, the function immediately returns in this case even
though the argument isn't used anywhere.

Closes: #458
Approved by: cgwalters
This commit is contained in:
Dan Nicholson 2016-08-11 12:39:19 -07:00 committed by Atomic Bot
parent fa59f5adfb
commit b1d13bb356
1 changed files with 0 additions and 4 deletions

View File

@ -3839,10 +3839,6 @@ ostree_repo_pull_default_console_progress_changed (OstreeAsyncProgress *progress
guint fetched_delta_parts;
guint total_delta_parts;
/* Historical note; we used to treat this as a GSConsole instance */
if (user_data == NULL)
return;
buf = g_string_new ("");
status = ostree_async_progress_get_status (progress);