summaryrefslogtreecommitdiffstats
path: root/src/exfat_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-25 13:09:02 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-25 13:09:02 +0200
commitb7a3d0755ff06dd98d60e27e00b89ad891dbf367 (patch)
tree6c438cb796c1d5c5c82cc4cadcc52282bdc7013d /src/exfat_dir.c
parentcf15e5dcd2f75edef2f1ddb382ec08b628a7823f (diff)
Fix various warning reported by gcc
Diffstat (limited to 'src/exfat_dir.c')
-rw-r--r--src/exfat_dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/exfat_dir.c b/src/exfat_dir.c
index a4fee56..040088f 100644
--- a/src/exfat_dir.c
+++ b/src/exfat_dir.c
@@ -167,7 +167,7 @@ static int exfat_dir(disk_t *disk, const partition_t *partition, dir_data_t *dir
unsigned int cluster;
unsigned char *buffer_dir=(unsigned char *)MALLOC(NBR_CLUSTER_MAX << cluster_shift);
unsigned int nbr_cluster;
- unsigned int clus_blocknr;
+// unsigned int clus_blocknr;
unsigned int total_clusters;
exfat_method_t exfat_meth=exFAT_FOLLOW_CLUSTER;
int stop=0;
@@ -176,7 +176,7 @@ static int exfat_dir(disk_t *disk, const partition_t *partition, dir_data_t *dir
else
cluster=first_cluster;
memset(buffer_dir, 0, NBR_CLUSTER_MAX<<cluster_shift);
- clus_blocknr=le32(exfat_header->clus_blocknr);
+// clus_blocknr=le32(exfat_header->clus_blocknr);
total_clusters=le32(exfat_header->total_clusters);
nbr_cluster=0;
while(!is_EOC(cluster) && cluster>=2 && nbr_cluster<NBR_CLUSTER_MAX && stop==0)