From 851e09e7e68dbee2c4d3a5ae1bda81078f03fc68 Mon Sep 17 00:00:00 2001 From: mmaslano Date: Fri, 17 Aug 2007 15:02:43 +0200 Subject: [PATCH] Fix for ppc: int ch='\0' is initialized. --- Makefile | 2 +- crontab.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.40.0