Merge branch 'coverity-issues' into 'main'

Fix a couple of minor Coverity issues

See merge request GNOME/glib!2976
This commit is contained in:
Marco Trevisan 2022-10-18 15:03:06 +00:00
commit 066ca6b042
2 changed files with 3 additions and 3 deletions

View File

@ -947,7 +947,7 @@ enable_jit_with_match_options (GRegex *regex,
break;
}
return regex->jit_status;
g_assert_not_reached ();
}
/**

View File

@ -552,7 +552,7 @@ on_source_notify (GObject *source,
{
binding->is_frozen = TRUE;
g_param_value_validate (binding->target_pspec, &to_value);
(void) g_param_value_validate (binding->target_pspec, &to_value);
g_object_set_property (target, binding->target_pspec->name, &to_value);
binding->is_frozen = FALSE;
@ -620,7 +620,7 @@ on_target_notify (GObject *target,
{
binding->is_frozen = TRUE;
g_param_value_validate (binding->source_pspec, &to_value);
(void) g_param_value_validate (binding->source_pspec, &to_value);
g_object_set_property (source, binding->source_pspec->name, &to_value);
binding->is_frozen = FALSE;