mirror of
https://github.com/golang/go
synced 2024-11-26 03:07:57 -07:00
can finally close this TODO - 6l was broken
R=r DELTA=2 (0 added, 2 deleted, 0 changed) OCL=23993 CL=23995
This commit is contained in:
parent
47e27758db
commit
6fdb18f900
@ -1189,8 +1189,6 @@ fileelem(Sym **fp, uchar *cp, char *buf, int n)
|
||||
bp = buf;
|
||||
end = buf+n-1;
|
||||
for(i = 1; j = (cp[i]<<8)|cp[i+1]; i+=2){
|
||||
if(j >= fmaxi) // TODO(rsc): should not happen, but does!
|
||||
break;
|
||||
c = fp[j]->name;
|
||||
if(bp != buf && bp[-1] != '/' && bp < end)
|
||||
*bp++ = '/';
|
||||
|
Loading…
Reference in New Issue
Block a user