summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-06 21:31:07 +0000
committerMatt Wilson <msw@redhat.com>1999-09-06 21:31:07 +0000
commitede79a4a02f2ccdca8663cb83d2e0291dce5eaad (patch)
tree57414b5ce7f1677716170cd6e18870d0856d8892 /loader
parentb0029189860042358413db2d8217234bc993fcbe (diff)
downloadanaconda-ede79a4a02f2ccdca8663cb83d2e0291dce5eaad.tar.gz
anaconda-ede79a4a02f2ccdca8663cb83d2e0291dce5eaad.tar.xz
anaconda-ede79a4a02f2ccdca8663cb83d2e0291dce5eaad.zip
changes for alpha - INITIALIZE VARIABLES... :P
Diffstat (limited to 'loader')
-rw-r--r--loader/loader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 37e3ee9ca..381fdb28b 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -949,7 +949,7 @@ static char * doMountImage(char * location, struct knownDevices * kd,
free(class);
}
-#ifdef INCLUDE_PCMCIA
+#if !defined(__i386__) || defined(INCLUDE_PCMCIA)
for (i = 0; i < numMethods; i++) {
int j;
@@ -1022,7 +1022,7 @@ static char * setupKickstart(char * location, struct knownDevices * kd,
char * url = NULL, * proxy = NULL, * proxyport = NULL;
char ** ksArgv;
char * fullPath;
- char * device;
+ char * device = NULL;
int ksArgc;
int ksType;
int i, rc, fd, partNum;
@@ -1309,7 +1309,7 @@ int kickstartFromFloppy(char * location, moduleList modLoaded,
int main(int argc, char ** argv) {
char ** argptr;
char * anacondaArgs[30];
- char * arg, * url;
+ char * arg, * url = NULL;
poptContext optCon;
int probeOnly = 0;
moduleList modLoaded;