From: Jonathan McDowell Date: Tue, 22 Jul 2014 11:59:32 +0000 (+0100) Subject: Cleanup key array logic to make llvm scan-build happier X-Git-Tag: onak-0.4.3~10 X-Git-Url: http://the.earth.li/gitweb/?a=commitdiff_plain;ds=sidebyside;h=5e40e676a7c4f640c9f850a379300c01a5fca69c;hp=5e40e676a7c4f640c9f850a379300c01a5fca69c;p=onak.git Cleanup key array logic to make llvm scan-build happier We can't have the size != 0 without keys != NULL, but the fact we checked one at the start and the other later was confusing the static checks from scan-build. Use size in both places; it keeps scan-build happy and make the code a little easier to read. ---