Add (...) around && clause to appeace gcc 4.8's warning