-// Copyright (C) 2004 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// copyright (C) 2004 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// --- start a trace Collector
- char* traceKind;
- bool isNotDefined = false;
- if ( getenv("SALOME_trace") )
- traceKind = getenv("SALOME_trace");
- else
- isNotDefined = true; // mkr : 27.11.2006 : PAL13967 - Distributed supervision graphs - Problem with "SALOME_trace"
-
- assert(traceKind);
- //cerr<<"SALOME_trace="<<traceKind<<endl;
-
- if ( isNotDefined || strcmp(traceKind,"local")==0 )
+ char* traceKind = getenv("SALOME_trace");
+
+ if ( !traceKind || strcmp(traceKind,"local")==0 ) // mkr : 27.11.2006 : PAL13967 - Distributed supervision graphs - Problem with "SALOME_trace"
{
_myThreadTrace = LocalTraceCollector::instance();
}