diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 13:10:17 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 14:26:07 +0100 |
commit | 5e5f3a3b0f58ac97fd3744cca46ed96e7031299e (patch) | |
tree | 647ae9f167be94e9d59ce843447609859dc3c26a | |
parent | 7c465e7f9e8b5c34a4926fb0de84de70aee8f37d (diff) |
coverity#1326261 Dereference after null check
Change-Id: If6d30d9d6217917dc577b35b9d17f1cc6e4566a9
-rw-r--r-- | qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java index 0bbadd23dae4..406289311952 100644 --- a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java +++ b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java @@ -49,9 +49,9 @@ public class _XMultiLayerStratum extends MultiMethodTest { if (aLayer == null) { log.println("\treturned Layer is NULL -- FAILED"); + } else { + res &= checkLayer(aLayer); } - - res &= checkLayer(aLayer); } catch (com.sun.star.configuration.backend.BackendAccessException e) { log.println("unexpected Exception -- FAILED"); res = false; @@ -300,4 +300,4 @@ public class _XMultiLayerStratum extends MultiMethodTest { return res; } -}
\ No newline at end of file +} |