[gtk/wip/matthiasc/css-values: 11/14] Remove an unnecessary check
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/css-values: 11/14] Remove an unnecessary check
- Date: Sun, 12 Jan 2020 20:04:44 +0000 (UTC)
commit 2bab057f95c705029d9f5343bb1f18a638604cb5
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jan 12 00:52:57 2020 -0500
Remove an unnecessary check
gtk/gtkcssselector.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkcssselector.c b/gtk/gtkcssselector.c
index b6468bd282..fd6b737ab6 100644
--- a/gtk/gtkcssselector.c
+++ b/gtk/gtkcssselector.c
@@ -1726,9 +1726,6 @@ _gtk_css_selector_compare (const GtkCssSelector *a,
GtkCssChange
_gtk_css_selector_get_change (const GtkCssSelector *selector)
{
- if (selector == NULL)
- return 0;
-
return selector->class->get_change (selector, _gtk_css_selector_get_change (gtk_css_selector_previous
(selector)));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]