summaryrefslogtreecommitdiffstats
path: root/src/exfat_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:48:57 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-17 16:48:57 +0200
commitccbedc1529ad94798f24f517af17239f4380f8fe (patch)
tree36b7e05fc4de75a027b56f2f46b25c6abd3789bd /src/exfat_dir.c
parent0d050098dc78c4b1f620379e3bf894adafb93196 (diff)
Disable compilation of exfat16_towchar(), an unused function
Diffstat (limited to 'src/exfat_dir.c')
-rw-r--r--src/exfat_dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exfat_dir.c b/src/exfat_dir.c
index ac8ee9b..6d55df7 100644
--- a/src/exfat_dir.c
+++ b/src/exfat_dir.c
@@ -62,10 +62,10 @@ struct exfat_dir_struct
static int exfat_dir(disk_t *disk, const partition_t *partition, dir_data_t *dir_data, const unsigned long int first_cluster, file_info_t *dir_list);
-static inline void exfat16_towchar(wchar_t *dst, const uint8_t *src, size_t len);
static int exfat_copy(disk_t *disk, const partition_t *partition, dir_data_t *dir_data, const file_info_t *file);
static void dir_partition_exfat_close(dir_data_t *dir_data);
+#if 0
static inline void exfat16_towchar(wchar_t *dst, const uint8_t *src, size_t len)
{
while (len--) {
@@ -73,6 +73,7 @@ static inline void exfat16_towchar(wchar_t *dst, const uint8_t *src, size_t len)
src += 2;
}
}
+#endif
#define ATTR_RO 1 /* read-only */
#define ATTR_HIDDEN 2 /* hidden */