The analyzer has detected a potential error when a forward slash is used.
It's easy to make a mistake mixing up the forward slash and backward slash characters.
For example:
if (x == '/n')
The programmer intended to compare the variable 'x' to the code 0xA (line feed) but made a mistake and wrote a forward slash. It results in the variable being compared to the value 0x2F6E.
This is the fixed code:
if (x == '\n')
Such a mistake is usually made when working with the following escape sequences:
Was this page helpful?
Your message has been sent. We will email you at
If you do not see the email in your inbox, please check if it is filtered to one of the following folders:
Take
a chance!