From: Panu Matilainen Date: Wed, 11 Jul 2007 10:36:03 +0000 (+0300) Subject: Quiesce false gcc unused variable warning. X-Git-Tag: rpm-4.6.0-rc1~2291 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed982f539c4d2f40df79c1ce73440878e63896c7;p=platform%2Fupstream%2Frpm.git Quiesce false gcc unused variable warning. --- diff --git a/lib/formats.c b/lib/formats.c index 59f953a..d3f65b3 100644 --- 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);