]> the.earth.li Git - onak.git/commitdiff
Cleanup key array logic to make llvm scan-build happier
authorJonathan McDowell <noodles@earth.li>
Tue, 22 Jul 2014 11:59:32 +0000 (12:59 +0100)
committerJonathan McDowell <noodles@earth.li>
Tue, 22 Jul 2014 12:00:59 +0000 (13:00 +0100)
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.


No differences found