Quiesce false gcc unused variable warning.
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 11 Jul 2007 10:36:03 +0000 (13:36 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 11 Jul 2007 10:36:03 +0000 (13:36 +0300)
lib/formats.c

index 59f953a..d3f65b3 100644 (file)
@@ -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);