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

@ -130,7 +130,7 @@ loginsert(File *f, uint p0, Rune *s, uint ns)
return;
if(ns == 0)
return;
if(ns<0 || ns>STRSIZE)
if(ns>STRSIZE)
panic("loginsert");
if(f->seq < seq)
filemark(f);