[gtk/wip/baedert/for-master: 3/4] csslookup: Remove tautological if expression
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/baedert/for-master: 3/4] csslookup: Remove tautological if expression
- Date: Thu, 22 Aug 2019 14:27:53 +0000 (UTC)
commit 633d47e9dca1b473e6472f6e5b05ab1c2ab98337
Author: Timm Bäder <mail baedert org>
Date: Thu Aug 22 12:54:36 2019 +0200
csslookup: Remove tautological if expression
A value is always either set or missing.
gtk/gtkcsslookup.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/gtk/gtkcsslookup.c b/gtk/gtkcsslookup.c
index cc1df1d2f9..3cbf05a758 100644
--- a/gtk/gtkcsslookup.c
+++ b/gtk/gtkcsslookup.c
@@ -111,14 +111,11 @@ _gtk_css_lookup_resolve (GtkCssLookup *lookup,
for (i = 0; i < GTK_CSS_PROPERTY_N_PROPERTIES; i++)
{
- if (lookup->values[i].value ||
- _gtk_bitmask_get (lookup->missing, i))
gtk_css_static_style_compute_value (style,
provider,
parent_style,
i,
lookup->values[i].value,
lookup->values[i].section);
- /* else not a relevant property */
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]