From 04a13b3d8eacd0b5d42fccf569094788f5bf3e32 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 15 Jan 2018 15:38:18 +0100 Subject: [PATCH] libpakfire: No need to keep Id in Step Signed-off-by: Michael Tremer --- src/libpakfire/step.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/libpakfire/step.c b/src/libpakfire/step.c index c45ba8325..59e78e1a1 100644 --- a/src/libpakfire/step.c +++ b/src/libpakfire/step.c @@ -38,7 +38,6 @@ struct _PakfireStep { PakfirePool pool; PakfirePackage package; - Id id; pakfire_step_type_t type; int nrefs; }; @@ -87,11 +86,10 @@ PAKFIRE_EXPORT PakfireStep pakfire_step_create(PakfireTransaction transaction, I step->nrefs = 1; step->pool = pakfire_transaction_get_pool(transaction); - step->id = id; - step->type = get_type(t, step->id); + step->type = get_type(t, id); // Get the package - step->package = pakfire_package_create(step->pool, step->id); + step->package = pakfire_package_create(step->pool, id); } return step; -- 2.39.5