From 4a47332941a59bc9ea4f0fe92d35e2c85f9409e1 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Fri, 17 May 2013 16:52:42 +0200 Subject: [PATCH] change_geometry_ncurses(): make some variables more local --- src/geometryn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/geometryn.c b/src/geometryn.c index 9b98f0d6..80b1990b 100644 --- a/src/geometryn.c +++ b/src/geometryn.c @@ -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" },