summaryrefslogtreecommitdiffstats
path: root/src/dirn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-04-06 21:04:47 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2017-04-06 21:04:47 +0200
commitfe83f37977ad9e518ece0dc417ec36c6c39a4d7c (patch)
tree6d64b9aed45758cbdb9ea6c490ed2c14b27128f0 /src/dirn.c
parent3fa9ab46adb0d6d04995c8190a9ad7b3cfb3647e (diff)
Various minor code cleanup
Diffstat (limited to 'src/dirn.c')
-rw-r--r--src/dirn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirn.c b/src/dirn.c
index c10045f..07f8ac2 100644
--- a/src/dirn.c
+++ b/src/dirn.c
@@ -603,7 +603,7 @@ static int dir_partition_aux(disk_t *disk, const partition_t *partition, dir_dat
while(1)
{
const unsigned int current_directory_namelength=strlen(dir_data->current_directory);
- long int new_inode=-1; /* Quit */
+ long int new_inode;
file_info_t dir_list;
TD_INIT_LIST_HEAD(&dir_list.list);
/* Not perfect for FAT32 root cluster */