Kaydet (Commit) 058cd961 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

cppcheck: Exception should be caught by reference

Change-Id: Ib92122311186da16fbef9441560bb7a013072e76
üst 0292b426
...@@ -112,7 +112,7 @@ void SAL_CALL Blob::disposing(void) ...@@ -112,7 +112,7 @@ void SAL_CALL Blob::disposing(void)
{ {
closeBlob(); closeBlob();
} }
catch (SQLException e) catch (SQLException &e)
{ {
// we cannot throw any exceptions here... // we cannot throw any exceptions here...
SAL_WARN("connectivity.firebird", "isc_close_blob failed\n" << SAL_WARN("connectivity.firebird", "isc_close_blob failed\n" <<
...@@ -256,4 +256,4 @@ void SAL_CALL Blob::closeInput() ...@@ -256,4 +256,4 @@ void SAL_CALL Blob::closeInput()
closeBlob(); closeBlob();
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment