Changeset 7050


Ignore:
Timestamp:
10/08/10 09:39:19 (9 years ago)
Author:
hinerm
Message:

Improvement: prevented null assignment of path to libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/native/bf-itk/itkBioFormatsImageIO.cxx

    r7049 r7050  
    9292      char* path; 
    9393      path = getenv(name); 
    94       std::string dir(path); 
    95  
     94      std::string dir(""); 
     95      if( path != NULL) { 
     96        dir.assign(path); 
     97      } 
    9698      list.push_back(jace::ClassPath( 
    9799 
Note: See TracChangeset for help on using the changeset viewer.