From 220c15d2b746878a943f311e6f66b1480e46491d Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 20 Oct 2012 13:36:52 -0400 Subject: fix gcc 4.7 warnings (thanks Tuncer Ayaz) R=rsc http://codereview.appspot.com/6744053 --- src/cmd/auth/dsagen.c | 2 -- src/cmd/auth/factotum/p9cr.c | 1 - 2 files changed, 3 deletions(-) (limited to 'src/cmd/auth') diff --git a/src/cmd/auth/dsagen.c b/src/cmd/auth/dsagen.c index 58d59247..cb618ede 100644 --- a/src/cmd/auth/dsagen.c +++ b/src/cmd/auth/dsagen.c @@ -14,11 +14,9 @@ void main(int argc, char **argv) { char *s; - int bits; char *tag; DSApriv *key; - bits = 1024; tag = nil; key = nil; fmtinstall('B', mpfmt); diff --git a/src/cmd/auth/factotum/p9cr.c b/src/cmd/auth/factotum/p9cr.c index 85fa1583..0d9c4879 100644 --- a/src/cmd/auth/factotum/p9cr.c +++ b/src/cmd/auth/factotum/p9cr.c @@ -156,7 +156,6 @@ p9crserver(Conv *c) astype = AuthChal; challen = NETCHLEN; }else if(c->proto == &vnc){ - astype = AuthVNC; challen = MAXCHAL; }else{ werrstr("bad proto"); -- cgit v1.2.3