ip/torrent: remove unneeded assignment
This commit is contained in:
parent
38c35d6195
commit
80deec0a7b
1 changed files with 0 additions and 1 deletions
|
@ -1044,7 +1044,6 @@ mktorrent(int fd, Dict *alist, Dict *wlist)
|
|||
werrstr("empty file");
|
||||
return -1;
|
||||
}
|
||||
npieces = 1;
|
||||
for(blocksize = 256*1024;;blocksize<<=1){
|
||||
npieces = (d->length + blocksize-1) / blocksize;
|
||||
if(npieces <= 8*1024 || blocksize >= 2*1024*1024)
|
||||
|
|
Loading…
Reference in a new issue