diff options
author | Russ Cox <rsc@swtch.com> | 2012-10-20 13:36:52 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2012-10-20 13:36:52 -0400 |
commit | 220c15d2b746878a943f311e6f66b1480e46491d (patch) | |
tree | b3235ff00e75b08680c0db754058ec908e2b2f22 /src/cmd/pic/textgen.c | |
parent | 53527a6e7864f5d681d7140f1403d4d8d42311d5 (diff) | |
download | plan9port-220c15d2b746878a943f311e6f66b1480e46491d.tar.gz plan9port-220c15d2b746878a943f311e6f66b1480e46491d.tar.bz2 plan9port-220c15d2b746878a943f311e6f66b1480e46491d.zip |
fix gcc 4.7 warnings (thanks Tuncer Ayaz)
R=rsc
http://codereview.appspot.com/6744053
Diffstat (limited to 'src/cmd/pic/textgen.c')
-rw-r--r-- | src/cmd/pic/textgen.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cmd/pic/textgen.c b/src/cmd/pic/textgen.c index 98dfbb57..082f8ee0 100644 --- a/src/cmd/pic/textgen.c +++ b/src/cmd/pic/textgen.c @@ -7,8 +7,6 @@ obj *textgen(void) int i, sub, nstr, at, with, hset, invis; double xwith, ywith, h, w, x0, y0, x1, y1; obj *p, *ppos; - static double prevh = 0; - static double prevw = 0; Attr *ap; at = with = nstr = hset = invis = 0; @@ -93,8 +91,6 @@ obj *textgen(void) cury = y1; else cury = y0; - prevh = h; - prevw = w; return(p); } |