diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-07-15 09:56:19 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-07-15 09:56:19 -0400 |
commit | 5b311cb1ef29825290273ede14c7e90839b80985 (patch) | |
tree | c162cd6de7bc27fec12e3242c33022f07a7dd8c0 /src/cssparser.cc | |
parent | 5f46adec1f6ecab7b68f3a71efbd7abe60ca917e (diff) |
Eliminated a pack of 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 4838f607..6bd8ba14 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, |