From 6591ba35f6fa5dc3867c5ff27ebef523ce8729d3 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 22 Nov 2009 13:03:21 +0000 Subject: Lose redundant assignments. Drop some dead code. Avoid a potential NULL dereference. Add missing "break" in initial substate of block context parser svn path=/trunk/libcss/; revision=9678 --- src/select/select.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/select/select.c') diff --git a/src/select/select.c b/src/select/select.c index eddb491..8224d86 100644 --- a/src/select/select.c +++ b/src/select/select.c @@ -417,9 +417,6 @@ css_error set_hint(css_select_state *state, uint32_t i) /* Retrieve this property's hint from the client */ error = state->handler->node_presentational_hint(state->pw, state->node, i, &hint); - if (error != CSS_OK && error != CSS_PROPERTY_NOT_SET) - return error; - if (error != CSS_OK) return (error == CSS_PROPERTY_NOT_SET) ? CSS_OK : error; -- cgit v1.2.3