[BUILD] fix build of POST analysis code with gcc < 3

move variable declarations at beginning of blocks.
1 file changed