From 84f99e2f20d303ba8c22507a9bc8862cf4a628cc Mon Sep 17 00:00:00 2001 From: hades Date: Mon, 2 Apr 2001 15:25:20 +0000 Subject: [PATCH] *** empty log message *** --- allParam/file/fileParam.c | 3 --- allParam/tcl/tclParam.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/allParam/file/fileParam.c b/allParam/file/fileParam.c index 7dd0367..21942d9 100644 --- a/allParam/file/fileParam.c +++ b/allParam/file/fileParam.c @@ -38,9 +38,6 @@ int conSetupParam(Param *my, const char *setup) if (setup != NULL) { my->setup = malloc(strlen(setup) + 1); strcpy(my->setup, setup); - } else if (getenv("SETUP") != NULL) { - my->setup = malloc(strlen(getenv("SETUP")) + 1); - strcpy(my->setup, getenv("SETUP")); } else { my->setup = NULL; } diff --git a/allParam/tcl/tclParam.c b/allParam/tcl/tclParam.c index b5ebee8..a2ba3d7 100644 --- a/allParam/tcl/tclParam.c +++ b/allParam/tcl/tclParam.c @@ -33,9 +33,6 @@ int conSetupParam(Param *my, const char *setup) if (setup != NULL) { my->setup = malloc(strlen(setup) + 1); strcpy(my->setup, setup); - } else if (getenv("SETUP") != NULL) { - my->setup = malloc(strlen(getenv("SETUP")) + 1); - strcpy(my->setup, getenv("SETUP")); } else { my->setup = NULL; } -- 2.43.0