summaryrefslogtreecommitdiff
path: root/tools/rpmsort.c
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-09-04 16:33:47 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-09-04 16:33:47 +0200
commitef22a17b783f82cfba4cf1ef1a767675a1070026 (patch)
treebf37c0defaa8bc91ca183fcba2a657d9fe107c49 /tools/rpmsort.c
parent513b1bb590b310ed427e9cfca7f8e179a9c4a756 (diff)
downloadrpm-ef22a17b783f82cfba4cf1ef1a767675a1070026.tar.gz
rpm-ef22a17b783f82cfba4cf1ef1a767675a1070026.tar.bz2
rpm-ef22a17b783f82cfba4cf1ef1a767675a1070026.zip
Minor warning fixes.
Diffstat (limited to 'tools/rpmsort.c')
-rw-r--r--tools/rpmsort.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/rpmsort.c b/tools/rpmsort.c
index 6ad072ce7..9824e18fc 100644
--- a/tools/rpmsort.c
+++ b/tools/rpmsort.c
@@ -17,11 +17,13 @@ const char *__progname;
static int _depends_debug;
static int noAvailable = 1;
+#ifdef DYING
static const char * avdbpath =
"/usr/lib/rpmdb/%{_arch}-%{_vendor}-%{_os}/redhat";
+#endif
static int noDeps = 0;
-static inline /*@observer@*/ const char * const identifyDepend(int_32 f)
+static inline /*@observer@*/ const char * identifyDepend(int_32 f)
/*@*/
{
if (isLegacyPreReq(f))