From cc3059a66300846237aba986130eff744cf1f62f Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 30 Nov 2005 13:48:19 +0000 Subject: Fix a couple of compilation warnings --- URPM.xs | 8 ++++---- 1 file 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; -- cgit v1.2.1