Menu

#54 dos_dir.c:502: bad comparison ?

7.0.8
closed
nobody
None
2021-05-28
2016-07-01
dcb
No

dos_dir.c:502]: (warning) String literal compared with variable '*cur_dir'. Did you intend to use strcmp() instead?

Source code is

while (*cur_dir != "\\");

Discussion

  • Dave van der Locht

    • status: open --> closed
     
  • Dave van der Locht

    This one seems already to be corrected somewhere in the past. Although I couldn't find a note in the ChangeLog regarding this.

     

Log in to post a comment.