]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkStructuredPointsReader.cxx
re indent
[bbtk.git] / packages / vtk / src / bbvtkStructuredPointsReader.cxx
index 1c0b1822df124031386ac5d7629a1fe95c0011ed..74f6d6bf3b73cd7dd0a570a010551ebb835f4e58 100644 (file)
@@ -26,7 +26,10 @@ void StructuredPointsReader::Process()
 //    * TYPE is the C++ type of the input/output
 //      (the one provided in the attribute 'type' of the tag 'input')
 
-       if ( bbGetInputIn().c_str()!="")
+    //warning: comparison with string literal results in unspecified behaviour
+       //if ( bbGetInputIn().c_str()!="")
+    std::string empty("");  // JPR
+    if ( bbGetInputIn().c_str()!=empty)
        {
                spr -> SetFileName( bbGetInputIn().c_str() );
                sp = spr->GetOutput();