Menu

#13 utility.c:572]: (style) Same expression on both sides of '||'.

v1.0_(example)
closed-fixed
None
5
2014-08-16
2014-02-08
dcb
No

Source code is

        if (*ptr == 'S' || *ptr == 'W' || *ptr == 's' || *ptr == 'W')

maybe

        if (*ptr == 'S' || *ptr == 'W' || *ptr == 's' || *ptr == 'w')

would be better code. I checked the latest software in git and
the bug exists there also.

Discussion

  • Petr Kubanek

    Petr Kubanek - 2014-02-08
    • status: open --> closed-fixed
    • assigned_to: Petr Kubanek
     
  • Petr Kubanek

    Petr Kubanek - 2014-02-08

    Fixed in git.

     

Log in to post a comment.