From 280d6efd2eedbf8bc65ab00978739ab4b7732ab4 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Fri, 14 Apr 2017 19:28:55 +0200 Subject: [PATCH] Fix uninitialized variable bug introduced in 34b37516965b499429a401ca2c2cdf2e439ee77d --- src/texfat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/texfat.c b/src/texfat.c index d555788a..65b860b2 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)