Kronuz / pyScss

pyScss, a Scss compiler for Python
MIT License
582 stars 141 forks source link

scss/src/_speedups.c:243: bad test #361

Open dcb314 opened 8 years ago

dcb314 commented 8 years ago

scss/src/_speedups.c:243]: (style) A pointer can not be negative so it is either pointless or an error to check if it is.

Source code is

        if (p_token < 0) {

Maybe better code

        if (p_token == 0) {