Skip to content

Commit

Permalink
roc_context_prepare_for_root(): delete unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Mar 14, 2016
1 parent 19233b9 commit 5c1d871
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/rpmostree-container-builtins.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ roc_context_init (ROContainerContext *rocctx,

static gboolean
roc_context_prepare_for_root (ROContainerContext *rocctx,
const char *target,
RpmOstreeTreespec *treespec,
GCancellable *cancellable,
GError **error)
Expand Down Expand Up @@ -285,7 +284,7 @@ rpmostree_container_builtin_assemble (int argc,
goto out;
}

if (!roc_context_prepare_for_root (rocctx, target_rootdir, treespec, cancellable, error))
if (!roc_context_prepare_for_root (rocctx, treespec, cancellable, error))
goto out;

/* --- Downloading metadata --- */
Expand Down Expand Up @@ -483,7 +482,7 @@ rpmostree_container_builtin_upgrade (int argc, char **argv, GCancellable *cancel
else
target_new_root = glnx_strjoina (name, ".1");

if (!roc_context_prepare_for_root (rocctx, name, treespec, cancellable, error))
if (!roc_context_prepare_for_root (rocctx, treespec, cancellable, error))
goto out;

/* --- Downloading metadata --- */
Expand Down

0 comments on commit 5c1d871

Please sign in to comment.