mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 15:28:18 +02:00
i915: Fix build break with empty unreachable()
Actually put something in unreachable(), so as not to break the build on a Friday evening. Signed-off-by: Daniel Stone <daniels@collabora.com> Reported-by: Mark Janes <mark.a.janes@intel.com>
This commit is contained in:
parent
ee5908396e
commit
d4342b1398
1 changed files with 2 additions and 4 deletions
|
|
@ -309,8 +309,7 @@ modifier_to_tiling(uint64_t modifier)
|
|||
return tiling_modifier_map[i].tiling;
|
||||
}
|
||||
|
||||
assert(0 && "modifier_to_tiling should only receive known modifiers");
|
||||
unreachable();
|
||||
unreachable("modifier_to_tiling should only receive known modifiers");
|
||||
}
|
||||
|
||||
static uint64_t
|
||||
|
|
@ -323,8 +322,7 @@ tiling_to_modifier(uint32_t tiling)
|
|||
return tiling_modifier_map[i].modifier;
|
||||
}
|
||||
|
||||
assert(0 && "tiling_to_modifier received unknown tiling mode");
|
||||
unreachable();
|
||||
unreachable("tiling_to_modifier received unknown tiling mode");
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue