From: hades Date: Mon, 2 Apr 2001 15:25:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=84f99e2f20d303ba8c22507a9bc8862cf4a628cc;p=daqdata.git *** empty log message *** --- 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; }