aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-30 13:48:19 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-11-30 13:48:19 +0000
commitcc3059a66300846237aba986130eff744cf1f62f (patch)
treec4031c8ea053e451b99d8bd73d9507d63666ac60
parent3b365a2fc3cc5490250a854736b147ea20231a57 (diff)
downloadperl-URPM-cc3059a66300846237aba986130eff744cf1f62f.tar
perl-URPM-cc3059a66300846237aba986130eff744cf1f62f.tar.gz
perl-URPM-cc3059a66300846237aba986130eff744cf1f62f.tar.bz2
perl-URPM-cc3059a66300846237aba986130eff744cf1f62f.tar.xz
perl-URPM-cc3059a66300846237aba986130eff744cf1f62f.zip
Fix a couple of compilation warnings
-rw-r--r--URPM.xs8
1 files changed, 4 insertions, 4 deletions
diff --git a/URPM.xs b/URPM.xs
index bcf8109..d28f757 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -438,8 +438,8 @@ callback_list_str_overlap(char *s, int slen, char *name, int_32 flags, char *evr
int result = 0;
char *eos = NULL;
char *eon = NULL;
- char eosc;
- char eonc;
+ char eosc = '\0';
+ char eonc = '\0';
/* we need to extract name, flags and evr from a full sense information, store result in local copy */
if (s) {
@@ -1966,7 +1966,7 @@ Pkg_obsoletes_overlap(pkg, s, b_nopromote=1, direction=-1)
PREINIT:
struct cb_overlap_s os;
char *eon = NULL;
- char eonc;
+ char eonc = '\0';
CODE:
os.name = s;
os.flags = 0;
@@ -2039,7 +2039,7 @@ Pkg_provides_overlap(pkg, s, b_nopromote=1, direction=1)
PREINIT:
struct cb_overlap_s os;
char *eon = NULL;
- char eonc;
+ char eonc = '\0';
CODE:
os.name = s;
os.flags = 0;