Skip to content
Snippets Groups Projects
Commit 459d41fe authored by Thomas Feuvrier's avatar Thomas Feuvrier
Browse files

Suppression des message printf et erreurs avec exit()

parent bd494093
Branches
Tags
No related merge requests found
......@@ -108,9 +108,8 @@ bool MSTARImageIO::CanReadFile( const char* filename )
MSTARfp = fopen(MSTARname,"rb");
if (MSTARfp == NULL)
{
fprintf(stderr,
"\n\nError: Unable to open [%s] for reading!\n\n", MSTARname);
return 0;
otbMsgDevMacro(<<"\nError: Unable to open ["<<MSTARname<<"] for reading!\n");
return false;
}
/****************************************************
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment