Related: rhbz#688757 --- loader/loader.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/loader/loader.c b/loader/loader.c index 95eec8f..319681e 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -918,7 +918,7 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData, GError *optErr = NULL; int numExtraArgs = 0; int i; - char *front, *stage2param = NULL; + char *front; /* we want to default to graphical and allow override with 'text' */ flags |= LOADER_FLAGS_GRAPHICAL; @@ -1084,7 +1084,6 @@ static void parseCmdLineFlags(struct loaderData_s * loaderData, else if (!strncasecmp(argv[i], "repo=", 5)) loaderData->instRepo = strdup(argv[i] + 5); else if (!strncasecmp(argv[i], "stage2=", 7)) { - stage2param = strdup(argv[i]+7); setStage2LocFromCmdline(argv[i] + 7, loaderData); } else if (!strncasecmp(argv[i], "hostname=", 9)) -- 1.7.3.3 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list