Change bitwise-OR to boolean-OR
Remove unused variable