mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 02:49:02 -04:00
Remove unused variable
This commit is contained in:
parent
41688c3036
commit
93f424768b
1 changed files with 0 additions and 3 deletions
|
|
@ -1674,7 +1674,6 @@ static int state_diffscan(struct snapraid_state* state, int is_diff)
|
|||
struct snapraid_scan* scan = i->data;
|
||||
struct snapraid_disk* disk = scan->disk;
|
||||
tommy_node* node;
|
||||
unsigned phy_count;
|
||||
unsigned phy_dup;
|
||||
uint64_t phy_last;
|
||||
struct snapraid_file* phy_file_last;
|
||||
|
|
@ -1757,7 +1756,6 @@ static int state_diffscan(struct snapraid_state* state, int is_diff)
|
|||
/* to reuse the just freed space */
|
||||
/* also check if the physical offset reported are fakes or not */
|
||||
node = scan->file_insert_list;
|
||||
phy_count = 0;
|
||||
phy_dup = 0;
|
||||
phy_last = FILEPHY_UNREAD_OFFSET;
|
||||
phy_file_last = 0;
|
||||
|
|
@ -1779,7 +1777,6 @@ static int state_diffscan(struct snapraid_state* state, int is_diff)
|
|||
}
|
||||
phy_file_last = file;
|
||||
phy_last = file->physical;
|
||||
++phy_count;
|
||||
}
|
||||
|
||||
/* next node */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue