Skip to content

Commit 353f27e

Browse files
committed
fix 3
1 parent 01d8f6b commit 353f27e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

StRoot/macros/rootlogon.C

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
{
22
// set FloatPointException trap
33
namespace rootlogon {
4-
int fpe=0;const char *env=0;
4+
int fpe = TString(gSystem->Getenv("STAR_VERSION")) == ".DEV";
5+
const char *env = gSystem->Getenv("STARFPE");
56
}
67

7-
rootlogon::fpe = TString(gSystem->Getenv("STAR_VERSION")) == ".DEV";
8-
rootlogon::env = gSystem->Getenv("STARFPE");
98
if (rootlogon::env) {
109
if (strcmp(rootlogon::env,"YES")==0) rootlogon::fpe=1;
1110
if (strcmp(rootlogon::env,"NO" )==0) rootlogon::fpe=0;

0 commit comments

Comments
 (0)