1
0
forked from 0ad/0ad

removed unnecessary (unused) calc

This was SVN commit r1208.
This commit is contained in:
janwas 2004-10-05 13:07:25 +00:00
parent 10a81394ff
commit 13dfff0e12

View File

@ -622,7 +622,7 @@ int file_io_complete(FileIO* io)
return 0;
if(ret == 0)
return 1;
debug_warn("file_io_complete: unexpected aio_error return");
return -1;
}
@ -935,8 +935,6 @@ debug_out("file_io fd=%d size=%d ofs=%d\n", f->fd, data_size, data_ofs);
ssize_t err = +1; // loop terminates if <= 0
size_t remaining_blocks = actual_size / BLOCK_SIZE;
for(;;)
{
// queue not full, data remaining to transfer, and no error: