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/auth | |
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/auth')
-rw-r--r-- | src/cmd/auth/dsagen.c | 2 | ||||
-rw-r--r-- | src/cmd/auth/factotum/p9cr.c | 1 |
2 files changed, 0 insertions, 3 deletions
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"); |