diff_print: drop unused OstreeRepo argument

Noticed this while working on diff output somewhere else. I was
initially thinking of making use of this there too, but it's not quite
the right fit and would require a lot of churn.

Closes: #1121
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2017-11-30 18:11:18 +00:00 committed by Atomic Bot
parent f504586182
commit 709ad07c5c
3 changed files with 3 additions and 5 deletions

View File

@ -110,7 +110,7 @@ rpmostree_print_treepkg_diff (OstreeSysroot *sysroot,
cancellable, error))
return FALSE;
rpmostree_diff_print (repo, removed, added, modified_old, modified_new);
rpmostree_diff_print (removed, added, modified_old, modified_new);
}
return TRUE;

View File

@ -674,8 +674,7 @@ rpmostree_break_hardlink (int dfd,
/* Given the result of rpm_ostree_db_diff(), print it. */
void
rpmostree_diff_print (OstreeRepo *repo,
GPtrArray *removed,
rpmostree_diff_print (GPtrArray *removed,
GPtrArray *added,
GPtrArray *modified_old,
GPtrArray *modified_new)

View File

@ -86,8 +86,7 @@ gs_file_get_path_cached (GFile *file)
gboolean rpmostree_stdout_is_journal (void);
void rpmostree_diff_print (OstreeRepo *repo,
GPtrArray *removed,
void rpmostree_diff_print (GPtrArray *removed,
GPtrArray *added,
GPtrArray *modified_old,
GPtrArray *modified_new);