change_geometry_ncurses(): make some variables more local

This commit is contained in:
Christophe Grenier 2013-05-17 16:52:42 +02:00
parent 15526c4410
commit 4a47332941

View file

@ -46,15 +46,15 @@
int change_geometry_ncurses(disk_t *disk_car)
{
int done = 0;
char def[128];
char response[128];
long int tmp_val=0;
int command;
int default_option=4;
int cyl_modified=0;
int geo_modified=0;
while (done==0)
{
char def[128];
char response[128];
long int tmp_val=0;
int command;
static struct MenuItem menuGeometry[]=
{
{ 'c', "Cylinders", "Change cylinder geometry" },