summaryrefslogtreecommitdiffstats
path: root/src/texfat.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2017-04-14 19:28:55 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2017-04-14 19:28:55 +0200
commit280d6efd2eedbf8bc65ab00978739ab4b7732ab4 (patch)
tree46ff242aa749f2a2cb0ca0053a5c619c59aec84a /src/texfat.c
parent6d20b64ac4425b3aa73c1d21423bcdc9c5c65409 (diff)
Fix uninitialized variable bug introduced in 34b37516965b499429a401ca2c2cdf2e439ee77d
Diffstat (limited to 'src/texfat.c')
-rw-r--r--src/texfat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/texfat.c b/src/texfat.c
index d555788..65b860b 100644
--- a/src/texfat.c
+++ b/src/texfat.c
@@ -163,6 +163,7 @@ int exFAT_boot_sector(disk_t *disk, partition_t *partition, char **current_cmd)
unsigned char *buffer_backup_bs;
int rescan=1;
const int size_bs=12 * disk->sector_size;
+ const char *options;
#ifdef HAVE_NCURSES
const struct MenuItem menu_exFAT[]=
{
@@ -179,7 +180,6 @@ int exFAT_boot_sector(disk_t *disk, partition_t *partition, char **current_cmd)
buffer_backup_bs=(unsigned char*)MALLOC(size_bs);
while(1)
{
- const char *options;
int command;
screen_buffer_reset();
if(rescan==1)