summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/directory.c
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-11-02 13:14:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-11-02 13:14:49 +0000
commit360de09d5fd6566f5e67b1ec785a6d938d07b5fb (patch)
tree004b91fe658b88b7a01b64d586c649f119b982d2 /mdk-stage1/directory.c
parentc1c7b5d9db1523ea9e2f5e0da1aabc0ba20b7853 (diff)
downloaddrakx-360de09d5fd6566f5e67b1ec785a6d938d07b5fb.tar
drakx-360de09d5fd6566f5e67b1ec785a6d938d07b5fb.tar.gz
drakx-360de09d5fd6566f5e67b1ec785a6d938d07b5fb.tar.bz2
drakx-360de09d5fd6566f5e67b1ec785a6d938d07b5fb.tar.xz
drakx-360de09d5fd6566f5e67b1ec785a6d938d07b5fb.zip
cleanup (remove warning when compiling with MANDRAKE_MOVE defined)
Diffstat (limited to 'mdk-stage1/directory.c')
-rw-r--r--mdk-stage1/directory.c2
1 files changed, 1 insertions, 1 deletions
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.",