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);
}
@@ .
Received on Sun Nov 4 12:09:28 2007