fix gcc 4.7 warnings (thanks Tuncer Ayaz)

R=rsc
http://codereview.appspot.com/6744053
This commit is contained in:
Russ Cox 2012-10-20 13:36:52 -04:00
parent 53527a6e78
commit 220c15d2b7
14 changed files with 9 additions and 40 deletions

View file

@ -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);

View file

@ -156,7 +156,6 @@ p9crserver(Conv *c)
astype = AuthChal;
challen = NETCHLEN;
}else if(c->proto == &vnc){
astype = AuthVNC;
challen = MAXCHAL;
}else{
werrstr("bad proto");