mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2025-02-23 19:09:11 +08:00
Corrected a couple issues.
This commit is contained in:
parent
077f76345e
commit
edb2fb877e
@ -29,7 +29,6 @@ int main() {
|
||||
return -1;
|
||||
} catch(NcException &e) {
|
||||
cout << "Caught Expected Exception." << endl;
|
||||
return e.errorCode();
|
||||
}
|
||||
|
||||
// Test opening a file that exists.
|
||||
|
@ -560,6 +560,6 @@ catch (NcException& e)
|
||||
{
|
||||
cout << "unknown error"<<endl;
|
||||
cout << e.what();
|
||||
exit e.errorCode();
|
||||
exit(e.errorCode());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user