From b81df0819d8f9ee193c723d746be098f68ca1c35 Mon Sep 17 00:00:00 2001 From: Eric Melville Date: Fri, 20 Sep 2002 19:40:23 +0000 Subject: [PATCH] Initialize a variable in order to fix when faced with picky compilers. Sponsored by: Apple --- usr.bin/sed/process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/sed/process.c b/usr.bin/sed/process.c index 94c24e9f0352..da9c7c544e60 100644 --- a/usr.bin/sed/process.c +++ b/usr.bin/sed/process.c @@ -96,6 +96,8 @@ process() size_t len, oldpsl = 0; char *p; + p = NULL; + for (linenum = 0; mf_fgets(&PS, REPLACE);) { pd = 0; top: