Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e35bc06 authored by Pirama Arumuga Nainar's avatar Pirama Arumuga Nainar
Browse files

Fix -Wbitwise-instead-of-logical

Bg: http://b/215753485

This warning is triggered by the new clang-r445002 prebuilt.

error: use of bitwise '|' with boolean operands [-Werror,-Wbi
twise-instead-of-logical]
        if (match_str == "}" | match_str == "},") {
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             ||

Test: Build with new clang and verify absence of warning.
Change-Id: I91465a30e33827317731c8874489eeafd89adfa6
parent 03bbf612
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment