On Mon, Oct 10, 2016 at 11:42:17 -0400, John Ferlan wrote:
Since it's only used in loop - just go direct.
Not sure how deep coverity sees stuff, but in some cases this would
increase the complexity of the loop from O(n) to O(n^2) since the
function gets evaluated on every single loop, but the returned value
never changes.
In this case it's okay, since virJSONValueArraySize does not do any
iteration over the list.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
ACK in this case, but we need to be careful.