summaryrefslogtreecommitdiff
path: root/qadevOOo
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-02-04 11:30:15 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-02-04 15:47:12 +0000
commit1cf6890ac8e7fb97af6509b4dbcaf5776833154e (patch)
treeeafab38e74e23d092685404b8727b2235f7898f1 /qadevOOo
parent569522be6296aa21e4ccd459343ebb5fffd60a13 (diff)
coverity#1326406 Dereference null return value
Change-Id: Ifedb32769551949fdda7d203812b803353a3f487
Diffstat (limited to 'qadevOOo')
-rw-r--r--qadevOOo/runner/helper/APIDescGetter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/helper/APIDescGetter.java b/qadevOOo/runner/helper/APIDescGetter.java
index 68f643004f6f..d7a672801a07 100644
--- a/qadevOOo/runner/helper/APIDescGetter.java
+++ b/qadevOOo/runner/helper/APIDescGetter.java
@@ -628,7 +628,7 @@ public class APIDescGetter extends DescGetter
DescEntry[] subEntries = getSubEntries(csvFile, theEntry);
- theEntry.SubEntryCount = subEntries.length;
+ theEntry.SubEntryCount = subEntries != null ? subEntries.length : 0;
theEntry.SubEntries = subEntries;
return theEntry;