fix init bug in RedeclareInspection
Merge pull request #902 from bronze1man/pr-redeclare-init

fix init bug in RedeclareInspection