summaryrefslogtreecommitdiff
path: root/lib/formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/formats.c')
-rw-r--r--lib/formats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/formats.c b/lib/formats.c
index d1cc12c16..f58392b6d 100644
--- a/lib/formats.c
+++ b/lib/formats.c
@@ -230,7 +230,7 @@ static char * xmlFormat(rpmTagType type, rpm_constdata_t data,
int element)
{
const char *xtag = NULL;
- size_t nb;
+ size_t nb = 0;
char *val;
char *s = NULL;
char *t = NULL;