The output format is almost certainly going to need
better than what argvPrint provides.
73 de Jeff
On Nov 4, 2007, at 6:09 AM, Ralf S. Engelschall wrote:
> RPM Package Manager, CVS Repository
> http://rpm5.org/cvs/
>
> ______________________________________________________________________
> ______
>
> Server: rpm5.org Name: Ralf S. Engelschall
> Root: /v/rpm/cvs Email: rse@rpm5.org
> Module: rpm Date: 04-Nov-2007
> 12:09:28
> Branch: HEAD Handle: 2007110411092800
>
> Modified files:
> rpm/lib rpmts.c
>
> Log:
> remove compiler warnings about two unused variables
>
> Summary:
> Revision Changes Path
> 2.118 +1 -2 rpm/lib/rpmts.c
>
> ______________________________________________________________________
> ______
>
> patch -p0 <<'@@ .'
> Index: rpm/lib/rpmts.c
>
> ======================================================================
> ======
> $ cvs diff -u -r2.117 -r2.118 rpmts.c
> --- rpm/lib/rpmts.c 4 Nov 2007 00:23:08 -0000 2.117
> +++ rpm/lib/rpmts.c 4 Nov 2007 11:09:28 -0000 2.118
> @@ -672,8 +672,7 @@
>
> if (_rpmts_macros) {
> const char ** av = NULL;
> - int ac = rpmGetMacroEntries(NULL, NULL, 1, &av);
> - int i;
> + (void)rpmGetMacroEntries(NULL, NULL, 1, &av);
> argvPrint("macros used", av, NULL);
> av = argvFree(av);
> }
> @@ .
> ______________________________________________________________________
> RPM Package Manager http://rpm5.org
> CVS Sources Repository rpm-cvs@rpm5.org
Received on Sun Nov 4 13:16:14 2007