core/parse_methods: removed duplicate check for same characters

- on a report generated by cppcheck sent by David Binderman
core: avoid warning of using bitwise operator with boolean result

- on a report generated by cppcheck sent by David Binderman