From: Michael Tremer Date: Mon, 15 Jan 2018 14:38:18 +0000 (+0100) Subject: libpakfire: No need to keep Id in Step X-Git-Tag: 0.9.28~1285^2~1190 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04a13b3d8eacd0b5d42fccf569094788f5bf3e32;p=pakfire.git libpakfire: No need to keep Id in Step Signed-off-by: Michael Tremer --- 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;