Skip to content
Snippets Groups Projects
Commit e6ff5e2d authored by David Thompson's avatar David Thompson
Browse files

COMP: Eliminate "unreachable code" warning.

parent 17914638
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@
#include <vtksys/SystemTools.hxx>
vtkCxxRevisionMacro(vtkSQLDatabase, "1.10");
vtkCxxRevisionMacro(vtkSQLDatabase, "1.11");
// ----------------------------------------------------------------------
vtkSQLDatabase::vtkSQLDatabase()
......@@ -109,12 +109,8 @@ vtkSQLDatabase* vtkSQLDatabase::CreateFromURL( const char* URL )
mysql_db->SetDatabaseName(database.c_str());
}
#endif // VTK_USE_MYSQL
else
{
vtkGenericWarningMacro( "Unsupported protocol: " << protocol.c_str() );
return 0;
}
vtkGenericWarningMacro( "Unsupported protocol: " << protocol.c_str() );
return db;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment