summaryrefslogtreecommitdiffstats
path: root/src/dirn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-04-14 07:51:33 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-04-14 07:51:33 +0200
commitdd4be61639d1eadd289ff8926fa3dae10308baec (patch)
tree095b5613c63543aa5547f5d3e217d7f6beec6246 /src/dirn.c
parent125e0241dff3acf8afc765195f09a393fd55f7cd (diff)
dir_aff_ncurses: remove useless variable affectations
Diffstat (limited to 'src/dirn.c')
-rw-r--r--src/dirn.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dirn.c b/src/dirn.c
index 768fd10..247a78f 100644
--- a/src/dirn.c
+++ b/src/dirn.c
@@ -523,7 +523,6 @@ static long int dir_aff_ncurses(disk_t *disk, const partition_t *partition, dir_
const file_info_t *tmp;
struct td_list_head *pos_org=pos;
const int pos_num_org=pos_num;
- tmp=td_list_entry(pos, file_info_t, list);
pos=pos->next;
tmp=td_list_entry(pos, file_info_t, list);
pos_num++;
@@ -547,7 +546,6 @@ static long int dir_aff_ncurses(disk_t *disk, const partition_t *partition, dir_
const file_info_t *tmp;
struct td_list_head *pos_org=pos;
const int pos_num_org=pos_num;
- tmp=td_list_entry(pos, file_info_t, list);
pos=pos->prev;
tmp=td_list_entry(pos, file_info_t, list);
pos_num--;