diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-06-21 21:06:38 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-06-21 21:06:38 -0400 |
commit | 86ad9513a8d090501dd602b00b70fecc31eeaaa4 (patch) | |
tree | 5b3d54986b78148658ca43015a579226e278d07c /src/cssparser.cc | |
parent | c1a46d534c0d4b67f71c6e4a378de94ba4c6aaa4 (diff) |
Eliminated a pack of 22 compiler warnings (gcc-4.6.1 amd64)
Diffstat (limited to 'src/cssparser.cc')
-rw-r--r-- | src/cssparser.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cssparser.cc b/src/cssparser.cc index f173f403..3d62b31d 100644 --- a/src/cssparser.cc +++ b/src/cssparser.cc @@ -1049,7 +1049,7 @@ void CssParser::parseDeclaration(CssPropertyList * props, CssPropertyList * importantProps) { CssPropertyInfo pi = {NULL, {CSS_TYPE_UNUSED}, NULL}, *pip; - CssShorthandInfo si, *sip; + CssShorthandInfo *sip; CssValueType type = CSS_TYPE_UNUSED; CssPropertyName prop; @@ -1087,7 +1087,6 @@ void CssParser::parseDeclaration(CssPropertyList * props, } } else { /* Try shorthands. */ - si.symbol = tval; sip = (CssShorthandInfo *) bsearch(&pi, Css_shorthand_info, CSS_SHORTHAND_NUM, |