fix clang warnings reported by Tuncer Ayaz

R=rsc
http://codereview.appspot.com/6744054
This commit is contained in:
Russ Cox 2012-10-21 11:25:08 -04:00
parent 34d629c857
commit 0cfb376070
24 changed files with 586 additions and 588 deletions

View file

@ -146,6 +146,7 @@ start:
fmtprint(&fmt, "%s\n", p);
}
sysfatal("did not find end of message");
return; // silence clang warning
end:
text = fmtstrflush(&fmt);

View file

@ -122,6 +122,7 @@ chapclient(Conv *c)
chal = nil;
k = nil;
attr = c->attr;
res = nil;
if(c->proto == &chap){
astype = AuthChap;