From 1771a7a27af24106e3769e4d5314b7fa4a24aaf1 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Sun, 8 Mar 2009 17:38:49 +0200 Subject: [PATCH] Initialize on declaration, cosmetics only... --- lib/transaction.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/transaction.c b/lib/transaction.c index 798a2a4..2940634 100644 --- a/lib/transaction.c +++ b/lib/transaction.c @@ -74,9 +74,7 @@ static int handleInstInstalledFile(const rpmts ts, rpmte p, rpmfi fi, { unsigned int fx = rpmfiFX(fi); rpmfs fs = rpmteGetFileStates(p); - int isCfgFile; - - isCfgFile = ((rpmfiFFlags(otherFi) | rpmfiFFlags(fi)) & RPMFILE_CONFIG); + int isCfgFile = ((rpmfiFFlags(otherFi) | rpmfiFFlags(fi)) & RPMFILE_CONFIG); if (XFA_SKIPPING(rpmfsGetAction(fs, fx))) return 0; @@ -123,8 +121,7 @@ static int handleInstInstalledFile(const rpmts ts, rpmte p, rpmfi fi, /* Determine config file dispostion, skipping missing files (if any). */ if (isCfgFile) { - int skipMissing = - ((rpmtsFlags(ts) & RPMTRANS_FLAG_ALLFILES) ? 0 : 1); + int skipMissing = ((rpmtsFlags(ts) & RPMTRANS_FLAG_ALLFILES) ? 0 : 1); rpmFileAction action = rpmfiDecideFate(otherFi, fi, skipMissing); rpmfsSetAction(fs, fx, action); } -- 2.7.4