From: mmaslano Date: Fri, 17 Aug 2007 13:02:43 +0000 (+0200) Subject: Fix for ppc: int ch='\0' is initialized. X-Git-Tag: v4.2~66 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=851e09e7e68dbee2c4d3a5ae1bda81078f03fc68;p=cronie Fix for ppc: int ch='\0' is initialized. --- diff --git a/Makefile b/Makefile index bcbf548..b118376 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ DEFS = -DWITH_SELINUX -DWITH_PAM #INSTALL = installbsd INSTALL = install #<> -LDFLAGS = +LDFLAGS = -g #################################### end configurable stuff SHELL = /bin/sh diff --git a/crontab.c b/crontab.c index d77452f..ce2af91 100644 --- a/crontab.c +++ b/crontab.c @@ -318,7 +318,7 @@ static void edit_cmd(void) { char n[MAX_FNAME], q[MAX_TEMPSTR], *editor; FILE *f; - int ch, t, x; + int ch='\0', t, x; struct stat statbuf; struct utimbuf utimebuf; WAIT_T waiter;