From 360de09d5fd6566f5e67b1ec785a6d938d07b5fb Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 2 Nov 2004 13:14:49 +0000 Subject: cleanup (remove warning when compiling with MANDRAKE_MOVE defined) --- mdk-stage1/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdk-stage1') diff --git a/mdk-stage1/directory.c b/mdk-stage1/directory.c index aa271562e..97221bcfa 100644 --- a/mdk-stage1/directory.c +++ b/mdk-stage1/directory.c @@ -49,7 +49,6 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me char location_full[500]; char * loopdev = NULL; struct stat statbuf; - enum return_type results; unlink(IMAGE_LOCATION); strcpy(location_full, directory); @@ -99,6 +98,7 @@ enum return_type try_with_directory(char *directory, char *method_live, char *me stage2_isos[stage2_iso_number] = NULL; if (stage2_iso_number > 2) { + enum return_type results; do { results = ask_from_list("Please choose the ISO image to be used to install the " DISTRIB_NAME " Distribution.", -- cgit v1.2.1