Skip to content
Commit f68808c7 authored by Richard Henderson's avatar Richard Henderson
Browse files

translate-all: Avoid -Werror=switch-bool



gcc 5.3.0 diagnoses

translate-all.c: In function ‘alloc_code_gen_buffer’:
translate-all.c:756:17: error: switch condition has boolean value
         switch (buf2 != MAP_FAILED) {
                 ^

Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
parent f0d70331
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