A series of bit-flag values should be bitwise-or'ed not logical-or'ed.
clang unreachable code warning.