From: Dan Nicholson Date: Thu, 11 Aug 2016 19:39:19 +0000 (-0700) Subject: repo: Really ignore progress changed user data X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~48^2~22 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b1d13bb356f67e9dd2d3e1a4c96f1ac136399c59;p=ostree.git 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 --- diff --git a/src/libostree/ostree-repo.c b/src/libostree/ostree-repo.c index 62415f06..a41f29c9 100644 --- a/src/libostree/ostree-repo.c +++ b/src/libostree/ostree-repo.c @@ -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);