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>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Message-ID: <
20240919044641.386068-6-pierrick.bouvier@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
case QTYPE_QBOOL:
return QOBJECT(qbool_from_bool(qlit->value.qbool));
default:
- assert(0);
+ g_assert_not_reached();
}
return NULL;
return false;
}
- assert(0);
+ g_assert_not_reached();
return false;
}
return false;
}
- assert(0);
+ g_assert_not_reached();
return false;
}
return qn->u.dbl;
}
- assert(0);
+ g_assert_not_reached();
return 0.0;
}
return g_strdup_printf("%.17g", qn->u.dbl);
}
- assert(0);
+ g_assert_not_reached();
return NULL;
}