From 6235debe563460699e8d295ff000c71afd6252f1 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 16 Jan 2007 09:19:48 +0000 Subject: [PATCH] MPV: fix for PAL11765: if variable SALOME_trace not found do not raise exception. --- src/SALOMELocalTrace/LocalTraceBufferPool.cxx | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/SALOMELocalTrace/LocalTraceBufferPool.cxx b/src/SALOMELocalTrace/LocalTraceBufferPool.cxx index ffec729d5..2c43e3030 100644 --- a/src/SALOMELocalTrace/LocalTraceBufferPool.cxx +++ b/src/SALOMELocalTrace/LocalTraceBufferPool.cxx @@ -1,4 +1,4 @@ -// 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 @@ -92,17 +92,9 @@ LocalTraceBufferPool* LocalTraceBufferPool::instance() // --- 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="<