reiser_copy(): remove unread "offset" variable
This commit is contained in:
parent
9bdce047d0
commit
5d02ff88bb
1 changed files with 0 additions and 2 deletions
|
@ -519,7 +519,6 @@ static int reiser_copy(disk_t *disk_car, const partition_t *partition, dir_data_
|
|||
{
|
||||
/* require progsreiserfs-file-read.patch */
|
||||
char buf[4096];
|
||||
uint64_t offset=0;
|
||||
while(file_size > 0)
|
||||
{
|
||||
int read_size=(file_size < sizeof(buf) ? file_size : sizeof(buf));
|
||||
|
@ -534,7 +533,6 @@ static int reiser_copy(disk_t *disk_car, const partition_t *partition, dir_data_
|
|||
error = -5;
|
||||
}
|
||||
file_size -= read_size;
|
||||
offset += read_size;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue