Skip to content
Snippets Groups Projects
Unverified Commit 97d44956 authored by Alastair Donaldson's avatar Alastair Donaldson Committed by GitHub
Browse files

Avoid bitwise and in boolean expression (#4603)

In #3404 a logical && was replaced with a bitwise & to ensure that
both side-effecting arguments were evaluated. However, this leads to
warnings from some compilers (leading to the OSS-Fuzz build breaking,
in particular).

This change reworks the relevant code so that both arguments to the
logical && are evaluated into temporaries.
parent e3c70981
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment