summaryrefslogtreecommitdiff
path: root/rpmdb/header.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpmdb/header.c')
-rw-r--r--rpmdb/header.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpmdb/header.c b/rpmdb/header.c
index f6b710119..1eb2c9cbf 100644
--- a/rpmdb/header.c
+++ b/rpmdb/header.c
@@ -489,7 +489,8 @@ static int regionSwab(/*@null@*/ indexEntry entry, int il, int dl,
{
unsigned char * tprev = NULL;
unsigned char * t = NULL;
- int tdel, tl = dl;
+ int tdel = 0;
+ int tl = dl;
struct indexEntry_s ieprev;
/*@-boundswrite@*/