diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-02-04 11:29:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-02-04 15:47:12 +0000 |
commit | 569522be6296aa21e4ccd459343ebb5fffd60a13 (patch) | |
tree | a0dd907db67f1ac54230417d09b4ab9185152574 /qadevOOo | |
parent | 1359b5635c4531495d2ed82b1385de99a3c1a864 (diff) |
coverity#1326407 Dereference null return value
Change-Id: Ie9336625f9f5733f9da96b8e7f1aa95228922a8a
Diffstat (limited to 'qadevOOo')
-rw-r--r-- | qadevOOo/runner/helper/APIDescGetter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qadevOOo/runner/helper/APIDescGetter.java b/qadevOOo/runner/helper/APIDescGetter.java index 60d7330d9619..68f643004f6f 100644 --- a/qadevOOo/runner/helper/APIDescGetter.java +++ b/qadevOOo/runner/helper/APIDescGetter.java @@ -715,7 +715,7 @@ public class APIDescGetter extends DescGetter DescEntry[] subEntries = getSubEntries(csvFile, aEntry); - aEntry.SubEntryCount = subEntries.length; + aEntry.SubEntryCount = subEntries != null ? subEntries.length : 0; aEntry.SubEntries = subEntries; return aEntry; |