Compile -Wall

This commit is contained in:
archie 1998-12-07 05:33:39 +00:00
parent 0a6d9e931e
commit 00fc8f968b
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= sed
CFLAGS+=-Wall
SRCS= compile.c main.c misc.c process.c
.include <bsd.prog.mk>

View File

@ -40,7 +40,7 @@
static char sccsid[] = "@(#)process.c 8.6 (Berkeley) 4/20/94";
#endif
static const char rcsid[] =
"$Id: process.c,v 1.6 1997/08/11 07:21:06 charnier Exp $";
"$Id: process.c,v 1.7 1998/04/29 21:58:36 ache Exp $";
#endif /* not lint */
#include <sys/types.h>
@ -94,7 +94,7 @@ process()
{
struct s_command *cp;
SPACE tspace;
size_t len, oldpsl;
size_t len, oldpsl = 0;
char *p;
for (linenum = 0; mf_fgets(&PS, REPLACE);) {