From edb2fb877e73c6d4a013175b7f772f65653be114 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Mon, 28 Mar 2016 11:01:32 -0600 Subject: [PATCH] Corrected a couple issues. --- cxx4/test_open_close.cpp | 1 - cxx4/test_type.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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"<