diff options
Diffstat (limited to 'cpp/src')
-rwxr-xr-x | cpp/src/IceSSL/Certificate.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/Certificate.cpp b/cpp/src/IceSSL/Certificate.cpp index 24c3df58ddc..511290cc6e7 100755 --- a/cpp/src/IceSSL/Certificate.cpp +++ b/cpp/src/IceSSL/Certificate.cpp @@ -41,8 +41,7 @@ CertificateReadException::ice_name() const Exception* CertificateReadException::ice_clone() const { - throw new CertificateReadException(*this); - return 0; // For compiler warnings. + return new CertificateReadException(*this); } void @@ -72,8 +71,7 @@ CertificateEncodingException::ice_name() const Exception* CertificateEncodingException::ice_clone() const { - throw new CertificateEncodingException(*this); - return 0; // For compiler warnings. + return new CertificateEncodingException(*this); } void |