diff options
author | Russ Cox <rsc@golang.org> | 2020-01-12 15:05:40 -0500 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2020-01-12 15:07:42 -0500 |
commit | fafa622a5bdf71adfbb4334541c3b65f29c89ca9 (patch) | |
tree | 189d86fb978b151ddf2f303f9c4efab196d79f17 /src/cmd/paint | |
parent | fa325e9b42b0bdfb48857d1958d9fb7ceac55151 (diff) | |
download | plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.tar.gz plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.tar.bz2 plan9port-fafa622a5bdf71adfbb4334541c3b65f29c89ca9.zip |
all: fix or silence various gcc warnings
As usual, gcc finds some real problems but also reports a ton
of noise. Fix the problems and quiet the noise.
Diffstat (limited to 'src/cmd/paint')
-rw-r--r-- | src/cmd/paint/eenter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmd/paint/eenter.c b/src/cmd/paint/eenter.c index 6c84f2fb..d3d68a35 100644 --- a/src/cmd/paint/eenter.c +++ b/src/cmd/paint/eenter.c @@ -78,6 +78,7 @@ eenter(char *ask, char *buf, int len, Mouse *m) b = screen; sc = b->clipr; replclipr(b, 0, b->r); + t = ZP; while(!done){ p = stringsize(font, buf ? buf : ""); |