Skip to content

Instantly share code, notes, and snippets.

@dwbuiten
Last active May 23, 2016 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dwbuiten/d84a3c1f17ee4b37158a66bd174cacb0 to your computer and use it in GitHub Desktop.
Save dwbuiten/d84a3c1f17ee4b37158a66bd174cacb0 to your computer and use it in GitHub Desktop.
draw.c:30: error: CHECKERS_DEAD_CODE
Node not visited: 20
28. static inline char get_char(char c)
29. {
30. > if (c > 31 && c < 127)
31. return c;
32. else
33.
Original code is here: https://github.com/dwbuiten/bxd/blob/master/draw.c#L28-34
Removing the 'else' line, or changing it to return using the ternary operator makes the error go away.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment