summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/parse/parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse/parse.c b/src/parse/parse.c
index c3269f1..ac62f64 100644
--- a/src/parse/parse.c
+++ b/src/parse/parse.c
@@ -591,8 +591,7 @@ css_error getToken(css_parser *parser, const css_token **token)
* All other token types appear after this magic value.
*/
- if (t->type < CSS_TOKEN_LAST_INTERN &&
- t->data.data != NULL && t->data.len > 0) {
+ if (t->type < CSS_TOKEN_LAST_INTERN && t->data.data != NULL) {
if (t->type < CSS_TOKEN_LAST_INTERN_LOWER) {
uint8_t temp[t->data.len];
bool lower = false;