Skip to content

clang: silence useless warning in lib/layer.h

Tomas Krizek requested to merge disable-clang-warning into master

This silences the following warning, which frequently appears in Travis CI.

./lib/layer.h:51:21: warning: result of comparison of constant 32 with
expression of type 'enum kr_layer_state' is always true
[-Wtautological-constant-out-of-range-compare]
        return s >= 0 && s < (1 << 5);
                         ~ ^ ~~~~~~~~

Merge request reports