Fix compiler warnings
This commit is contained in:
parent
24b1eb4031
commit
afe3612c0c
3 changed files with 3 additions and 5 deletions
|
@ -82,9 +82,8 @@ write_chunk(struct rudolph2_conn *c, int offset, int flag,
|
|||
}
|
||||
|
||||
if(datalen > 0) {
|
||||
int ret;
|
||||
cfs_seek(fd, offset, CFS_SEEK_SET);
|
||||
ret = cfs_write(fd, data, datalen);
|
||||
cfs_write(fd, data, datalen);
|
||||
printf("+++ rudolph2 offset %d, length %d\n", offset, datalen);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue