cssvalue: Move value initialization

Makes it easier to track places where tha value is not initialized.
This commit is contained in:
Benjamin Otte 2013-01-15 15:31:59 +01:00
parent b60478bb49
commit 301e22121a

View File

@ -153,7 +153,6 @@ _gtk_css_color_value_resolve (GtkCssValue *color,
dependencies = &unused;
*dependencies = 0;
value = NULL;
switch (color->type)
{
case COLOR_TYPE_LITERAL:
@ -265,6 +264,7 @@ _gtk_css_color_value_resolve (GtkCssValue *color,
}
break;
default:
value = NULL;
g_assert_not_reached ();
}