Commit 1e09add232e14ef61d2f222a5ee05a2105af64f0

Chun-wei Fan 2018-12-12T01:32:01

test/api: Fix building on pre-C99 compilers Ensure variables are declared at the top of the block.