Changeset 1347 for trunk/source/materials/src/G4IonStoppingData.cc
- Timestamp:
- Dec 22, 2010, 3:52:27 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/materials/src/G4IonStoppingData.cc
r1197 r1347 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4IonStoppingData.cc,v 1.3 2010/10/25 08:41:39 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-04-ref-00 $ 26 28 // 27 29 // =========================================================================== … … 37 39 // 38 40 // Modifications: 41 // 25.10.2010 V.Ivanchenko fixed warnings reported by the Coverity tool 39 42 // 40 43 // … … 378 381 379 382 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 } 381 387 382 388 std::ostringstream file; … … 425 431 426 432 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 } 429 437 std::ostringstream file; 430 438
Note: See TracChangeset
for help on using the changeset viewer.