projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lint
[unix-history]
/
usr
/
src
/
usr.bin
/
window
/
wwwrite.c
diff --git
a/usr/src/usr.bin/window/wwwrite.c
b/usr/src/usr.bin/window/wwwrite.c
index
cf7c419
..
82e9385
100644
(file)
--- a/
usr/src/usr.bin/window/wwwrite.c
+++ b/
usr/src/usr.bin/window/wwwrite.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char *sccsid = "@(#)wwwrite.c 3.
19 84/04/08
";
+static char *sccsid = "@(#)wwwrite.c 3.
20 84/04/09
";
#endif
#include "ww.h"
#endif
#include "ww.h"
@@
-26,6
+26,9
@@
int n;
char *r = 0;
char *s;
char *r = 0;
char *s;
+#ifdef lint
+ s = 0; /* define it before possible use */
+#endif
if (hascursor = w->ww_hascursor)
wwcursor(w, 0);
while (p < q && !w->ww_stopped && (!wwinterrupt() || w->ww_nointr)) {
if (hascursor = w->ww_hascursor)
wwcursor(w, 0);
while (p < q && !w->ww_stopped && (!wwinterrupt() || w->ww_nointr)) {