Kaydet (Commit) 84db0196 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326216 Explicit null dereferenced

Change-Id: I1c65e776580b03a658c61c3c680f63d5c35fa52a
üst 04fa668d
......@@ -802,7 +802,9 @@ public class APIDescGetter extends DescGetter
}
}
for (int i = 0; i < modules.length; i++)
int moduleLength = modules != null ? modules.length : 0;
for (int i = 0; i < moduleLength; ++i)
{
if (!isUnusedModule(modules[i]))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment