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

Skip to content
Commit 0a2b8650 authored by Yi Kong's avatar Yi Kong
Browse files

Fix incorrect boolean logic

Original code:
  isLittleEndian || isBigEndian && isLittleEndian != isBigEndian

By the default association rules, this is equivalent to:
  isLittleEndian || (isBigEndian && isLittleEndian != isBigEndian)

this apparently is not the intended logic. Fixed to
  (isLittleEndian || isBigEndian) && (isLittleEndian != isBigEndian)

Test: presubmit
Change-Id: I45a273bfbb7a8c492c1455020c23130d105cebdf
parent cd4a93df
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