Hi tech --
In mg, paragraph.c, lines 48 and 86, is it possible that nospace could
be used uninitialized in the first iteration of the while loop?
Tiny diff below to fix it, if it is.
OK?
~Brian
Index: paragraph.c
===================================================================
RCS file: /cvs/src/usr.bin/mg/paragraph.c,v
retrieving revision 1.30
diff -u -p -r1.30 paragraph.c
--- paragraph.c 20 Mar 2014 07:47:29 -0000 1.30
+++ paragraph.c 22 Mar 2014 18:30:17 -0000
@@ -26,7 +26,8 @@ static int fillcol = 70;
int
gotobop(int f, int n)
{
- int col, nospace;
+ int col;
+ int nospace = 0;
/* the other way... */
if (n < 0)
@@ -64,7 +65,8 @@ gotobop(int f, int n)
int
gotoeop(int f, int n)
{
- int col, nospace;
+ int col;
+ int nospace = 0;
/* the other way... */
if (n < 0)