Pirama Arumuga Nainar
|
886c8c28e4
|
sm8350-common: gps: Fix -Wbitwise-instead-of-logical
Bug: http://b/215753485
Reported by clang-r445002
error: use of bitwise '|' with boolean operands [-Werro
r,-Wbitwise-instead-of-logical]
if (gnssCbIface != nullptr || gnssCbIface_2_0 != nullptr| gnssCbIface_2_1 != nullptr) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
||
Test: build with clang-r445002
Change-Id: I9410eb5208227dd70bd036aee02fb2aeb912f266
Merged-In: I9410eb5208227dd70bd036aee02fb2aeb912f266
|
2023-04-16 17:37:35 +02:00 |
|