diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-10-20 19:55:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-10-21 20:15:17 +0200 |
commit | acd9e3f5dac9804286eb498cb9665ba333fc6583 (patch) | |
tree | 5c25146ca5d5cda1215b94fc3d452123441c0354 /dbaccess | |
parent | c60e737832fe5f9b4841ba163e22c532f0abe6f4 (diff) |
pvs-studio: Expression 'pException' is always false.
Change-Id: Id81e01bd8a082e6bb4eda2f9e8bae1818389941f
Reviewed-on: https://gerrit.libreoffice.org/62102
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/hsqldb/hsqlimport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/filter/hsqldb/hsqlimport.cxx b/dbaccess/source/filter/hsqldb/hsqlimport.cxx index 2a098476b62e..7a01045bfb37 100644 --- a/dbaccess/source/filter/hsqldb/hsqlimport.cxx +++ b/dbaccess/source/filter/hsqldb/hsqlimport.cxx @@ -305,9 +305,6 @@ void HsqlImporter::importHsqlDatabase() } catch (SQLException& ex) { - // chain errors and keep going - if (pException) - ex.NextException <<= *pException; pException.reset(new SQLException{ std::move(ex) }); } @@ -329,6 +326,7 @@ void HsqlImporter::importHsqlDatabase() } catch (SQLException& ex) { + // chain errors and keep going if (pException) ex.NextException <<= *pException; pException.reset(new SQLException{ std::move(ex) }); @@ -345,6 +343,7 @@ void HsqlImporter::importHsqlDatabase() } catch (SQLException& ex) { + // chain errors and keep going if (pException) ex.NextException <<= *pException; pException.reset(new SQLException{ std::move(ex) }); @@ -361,6 +360,7 @@ void HsqlImporter::importHsqlDatabase() } catch (SQLException& ex) { + // chain errors and keep going if (pException) ex.NextException <<= *pException; pException.reset(new SQLException{ std::move(ex) }); |