mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +01:00
Merge branch 'coverity-issues' into 'main'
Fix a couple of minor Coverity issues See merge request GNOME/glib!2976
This commit is contained in:
commit
066ca6b042
@ -947,7 +947,7 @@ enable_jit_with_match_options (GRegex *regex,
|
||||
break;
|
||||
}
|
||||
|
||||
return regex->jit_status;
|
||||
g_assert_not_reached ();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user