FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-01-2011, 12:17 PM
Ales Kozumplik
 
Default loader.c: remove stage2param, unused.

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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 09:05 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org