summaryrefslogtreecommitdiffstats
path: root/src/rfs_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-17 17:06:13 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-17 17:06:13 +0200
commit5d02ff88bb371393e24939889f2022374d9e84de (patch)
tree4e853af0422562a0f68e73d66c09d11197e28f3f /src/rfs_dir.c
parent9bdce047d09aaffe12eca9ab142d884013ed5153 (diff)
reiser_copy(): remove unread "offset" variable
Diffstat (limited to 'src/rfs_dir.c')
-rw-r--r--src/rfs_dir.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rfs_dir.c b/src/rfs_dir.c
index f290a20..e845717 100644
--- a/src/rfs_dir.c
+++ b/src/rfs_dir.c
@@ -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