projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d9e08
)
Quiesce false gcc unused variable warning.
author
Panu Matilainen
<pmatilai@redhat.com>
Wed, 11 Jul 2007 10:36:03 +0000
(13:36 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Wed, 11 Jul 2007 10:36:03 +0000
(13:36 +0300)
lib/formats.c
patch
|
blob
|
history
diff --git
a/lib/formats.c
b/lib/formats.c
index
59f953a
..
d3f65b3
100644
(file)
--- a/
lib/formats.c
+++ b/
lib/formats.c
@@
-1029,7
+1029,8
@@
static int i18nTag(Header h, int_32 tag, /*@out@*/ rpmTagType * type,
const char * n;
char * mk;
size_t nb = sizeof("()");
- int xx = headerNVR(h, &n, NULL, NULL);
+ int xx;
+ xx = headerNVR(h, &n, NULL, NULL);
if (tn) nb += strlen(tn);
if (n) nb += strlen(n);
mk = alloca(nb);