diff --git a/cxx4/test_open_close.cpp b/cxx4/test_open_close.cpp index 7b9cdbf..6624bec 100644 --- a/cxx4/test_open_close.cpp +++ b/cxx4/test_open_close.cpp @@ -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. diff --git a/cxx4/test_type.cpp b/cxx4/test_type.cpp index 2b6ee1a..1244fa2 100644 --- a/cxx4/test_type.cpp +++ b/cxx4/test_type.cpp @@ -560,6 +560,6 @@ catch (NcException& e) { cout << "unknown error"<