]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
*** empty log message ***
authorhades <hades>
Mon, 2 Apr 2001 15:25:20 +0000 (15:25 +0000)
committerhades <hades>
Mon, 2 Apr 2001 15:25:20 +0000 (15:25 +0000)
allParam/file/fileParam.c
allParam/tcl/tclParam.c

index 7dd0367a2a959c796af6deadfd50795c3f1cf92d..21942d9bee52cc4c530d8cbafe735fe95e2d23e9 100644 (file)
@@ -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;
        }
index b5ebee8b0d65dedd5b87b862f4f779b35e770b58..a2ba3d75eea515e321b23902324ebfad9f83dcdc 100644 (file)
@@ -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;
        }