mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-09-08 16:07:39 -06:00
hw/net: replace assert(0) with g_assert_not_reached()
This patch is part of a series that moves towards a consistent use of g_assert_not_reached() rather than an ad hoc mix of different assertion mechanisms. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Message-ID: <20240919044641.386068-4-pierrick.bouvier@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
42bf363cc0
commit
b5df251408
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ static void command_loop(I82596State *s)
|
||||||
case CmdDump:
|
case CmdDump:
|
||||||
case CmdDiagnose:
|
case CmdDiagnose:
|
||||||
printf("FIXME Command %d !!\n", cmd & 7);
|
printf("FIXME Command %d !!\n", cmd & 7);
|
||||||
assert(0);
|
g_assert_not_reached();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* update status */
|
/* update status */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue