From 41974f46f90473e395731e22fb2f89c561971e33 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Wed, 14 Feb 2024 10:41:04 +0200 Subject: [PATCH] Drop a dead assignment, the calculated value is never used This was erroneously added in fb13f7fd9eff012cb7b9dbf94ac5381c69404055. Fixes: #2904 --- lib/rpmfi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/rpmfi.c b/lib/rpmfi.c index 011d6787e..94eb760bf 100644 --- a/lib/rpmfi.c +++ b/lib/rpmfi.c @@ -326,7 +326,6 @@ int rpmfiSetFX(rpmfi fi, int fx) if (fi != NULL && fx >= 0 && fx < rpmfilesFC(fi->files)) { int dx = fi->j; - i = fi->i; fi->i = fx; fi->j = rpmfilesDI(fi->files, fi->i); i = fi->i;