Ignore:
Timestamp:
Dec 22, 2010, 3:52:27 PM (14 years ago)
Author:
garnier
Message:

geant4 tag 9.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/materials/src/G4IonStoppingData.cc

    r1197 r1347  
    2424// ********************************************************************
    2525//
     26// $Id: G4IonStoppingData.cc,v 1.3 2010/10/25 08:41:39 vnivanch Exp $
     27// GEANT4 tag $Name: geant4-09-04-ref-00 $
    2628//
    2729// ===========================================================================
     
    3739//
    3840// Modifications:
     41// 25.10.2010 V.Ivanchenko fixed warnings reported by the Coverity tool
    3942//
    4043//
     
    378381
    379382  char* path = getenv("G4LEDATA");
    380   if ( !path ) G4Exception("G4LEDATA environment variable not set");
     383  if ( !path ) {
     384    G4Exception("G4IonStoppingData::BuildPhysicsVector: G4LEDATA environment variable not set");
     385    return false;
     386  }
    381387 
    382388  std::ostringstream file;
     
    425431
    426432  char* path = getenv("G4LEDATA");
    427   if ( !path ) G4Exception("G4LEDATA environment variable not set");
    428  
     433  if ( !path ) {
     434    G4Exception("G4IonStoppingData::BuildPhysicsVector: G4LEDATA environment variable not set");
     435    return false;
     436  }
    429437  std::ostringstream file;
    430438 
Note: See TracChangeset for help on using the changeset viewer.