RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: rpm Date: 17-Aug-2014 16:30:48 Branch: rpm-5_4 Handle: 2014081714304602 Modified files: (Branch: rpm-5_4) rpm/rpmdb rpmlio.c rpmmdb.c Log: - remove unused compiler warnings. Summary: Revision Changes Path 1.5.2.1 +2 -0 rpm/rpmdb/rpmlio.c 1.4.2.3 +0 -1 rpm/rpmdb/rpmmdb.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: rpm/rpmdb/rpmlio.c ============================================================================ $ cvs diff -u -r1.5 -r1.5.2.1 rpmlio.c --- rpm/rpmdb/rpmlio.c 2 Nov 2010 15:10:36 -0000 1.5 +++ rpm/rpmdb/rpmlio.c 17 Aug 2014 14:30:46 -0000 1.5.2.1 @@ -18,10 +18,12 @@ /*@unchecked@*/ int _rpmlio_debug = 0; +#if defined(SUPPORT_FILE_ACID) /*@unchecked@*/ static int _enable_syscall_logging = 0; /*@unchecked@*/ static int _enable_scriptlet_logging = 0; +#endif /* SUPPORT_FILE_ACID */ int rpmlioCreat(rpmdb rpmdb, const char * fn, mode_t mode, const uint8_t * b, size_t blen, @@ . patch -p0 <<'@@ .' Index: rpm/rpmdb/rpmmdb.c ============================================================================ $ cvs diff -u -r1.4.2.2 -r1.4.2.3 rpmmdb.c --- rpm/rpmdb/rpmmdb.c 19 Jul 2014 23:32:38 -0000 1.4.2.2 +++ rpm/rpmdb/rpmmdb.c 17 Aug 2014 14:30:48 -0000 1.4.2.3 @@ -53,7 +53,6 @@ rpmmdb rpmmdbNew(const char * fn, int flags) { rpmmdb mdb = rpmmdbGetPool(_rpmmdbPool); - int xx; if (fn) mdb->fn = xstrdup(fn); @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org