summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-10-30 20:36:03 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-10-30 21:07:41 +0000
commitf1207dbd3a0b9b05746eecfd0eb4aa4e1efcbeb9 (patch)
tree73371b1b298a7c22d9e2543a34db9e8974a6e1f9 /qadevOOo
parent3b13f1657a96c8bbd6e9b25ba0cc56c6bf7ab097 (diff)
coverity#1326230 Dereference after null check
Change-Id: I463ad43a31b870e6e67720089514337336e6015e
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
index 277ba56fe667..77e96d72fa34 100644
--- a/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
+++ b/qadevOOo/tests/java/ifc/i18n/_XExtendedIndexEntrySupplier.java
@@ -51,13 +51,12 @@ public class _XExtendedIndexEntrySupplier extends MultiMethodTest {
requiredMethod("getLocaleList()");
boolean result = true;
- boolean locResult = false;
for (int i = 0; i < locales.length; i++) {
String[] algNames = oObj.getAlgorithmList(locales[i]);
algorithms.put(Integer.valueOf(i), algNames);
- locResult = algNames != null && algNames.length > 0;
+ boolean locResult = algNames.length > 0;
System.out.println("Locale " + i + ": " + locales[i].Country+","+locales[i].Language);
for (int j=0; j<algNames.length; j++) {