diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-06-25 18:27:26 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-06-25 18:27:26 +0000 |
commit | 2c8e250093d20e5ab658f9de81a1ad9c98a47014 (patch) | |
tree | b1587a7a8f8d998f7e656ff577eed529ef87ebbc | |
parent | 43af4ab447cea85973dfd8bdbd9c27560d4c77f1 (diff) | |
download | perl-RPM4-2c8e250093d20e5ab658f9de81a1ad9c98a47014.tar perl-RPM4-2c8e250093d20e5ab658f9de81a1ad9c98a47014.tar.gz perl-RPM4-2c8e250093d20e5ab658f9de81a1ad9c98a47014.tar.bz2 perl-RPM4-2c8e250093d20e5ab658f9de81a1ad9c98a47014.tar.xz perl-RPM4-2c8e250093d20e5ab658f9de81a1ad9c98a47014.zip |
silent compiler warnings
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@216 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r-- | RPM4/src/RPM4.xs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index 869cb91..f8ade44 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -491,7 +491,7 @@ int _header_vs_dep(Header h, rpmds dep, int nopromote) { } int _headername_vs_dep(Header h, rpmds dep, int nopromote) { - char *name; rpm_tagtype_t type; + char *name; int rc = 0; CHECK_RPMDS_IX(dep); struct rpmtd_s val; @@ -2072,14 +2072,14 @@ void rpmlibdep() PREINIT: rpmds Dep = NULL; + PPCODE: +#if 0 rpmds next; const char ** provNames; int * provFlags; const char ** provVersions; int num = 0; int i; - PPCODE: -#if 0 num = rpmGetRpmlibProvides(&provNames, &provFlags, &provVersions); for (i = 0; i < num; i++) { #ifdef HDLISTDEBUG @@ -2888,11 +2888,11 @@ void Spec_icon(spec) rpmSpec spec PREINIT: - Package pkg; PPCODE: #ifdef RPM4_9_0 croak("icon exists only in rpm < 4.9; unused anyway"); #else + Package pkg; for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) { char * dest = NULL; int len; @@ -2909,11 +2909,11 @@ void Spec_icon_url(spec) rpmSpec spec PREINIT: - Package pkg; PPCODE: #ifdef RPM4_9_0 croak("icon_url exists only in rpm < 4.9; unused anyway; unused anyway"); #else + Package pkg; for (pkg = spec->packages; pkg != NULL; pkg = pkg->next) { char * dest = NULL; int len; |