diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 13:10:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-15 14:26:07 +0100 |
commit | 21c30f6e416ba25908e9633733a09ba38b8e1a2a (patch) | |
tree | e4828af39236d88d420c823ac5c313a6627d5d4c | |
parent | 5e5f3a3b0f58ac97fd3744cca46ed96e7031299e (diff) |
coverity#1326262 Dereference after null check
Change-Id: I2c426e140ff3fde2ffaa2c5b6fc676d8d77e6afa
-rw-r--r-- | qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java index 406289311952..33b082faf4a8 100644 --- a/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java +++ b/qadevOOo/tests/java/ifc/configuration/backend/_XMultiLayerStratum.java @@ -139,9 +139,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; |