Kaydet (Commit) acd9e3f5 authored tarafından Caolán McNamara's avatar Caolán McNamara

pvs-studio: Expression 'pException' is always false.

Change-Id: Id81e01bd8a082e6bb4eda2f9e8bae1818389941f
Reviewed-on: https://gerrit.libreoffice.org/62102Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst c60e7378
......@@ -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) });
......
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