Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

- Fixed useless 'array != NULL' check. #28

Merged
merged 1 commit into from Mar 1, 2014
Commits on Mar 1, 2014
  1. - Fixed useless 'array != NULL' check.

    Edoardo Prezioso committed Mar 1, 2014
    - 'notranslate != NULL' is completely useless, because 'notranslate' is an array, hence removed.
    - I interpreted 'SbarInfoScript != NULL' as a typo, since 1)in the next expression inside the condition there's a dereference to 'SBarInfoScript[SCRIPT_CUSTOM]' and 2)'SBarInfoScript[SCRIPT_CUSTOM]' is checked against 'NULL', in line 352, and then dereferenced when introducing 'cstype'.