summaryrefslogtreecommitdiff
path: root/src/select/properties/elevation.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-07-26 21:20:11 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-07-26 21:20:11 +0000
commitda47188a8369bb79884d37f3222c8bf8fabb7ea4 (patch)
tree55ee6e2d99ac2b1751c13a9a03cd402b7c7d5710 /src/select/properties/elevation.c
parentc13945dd277f68ee913df42bf83c9cd2ba9f4014 (diff)
downloadlibcss-da47188a8369bb79884d37f3222c8bf8fabb7ea4.tar.gz
libcss-da47188a8369bb79884d37f3222c8bf8fabb7ea4.tar.bz2
Fix build with GCC 4.6
svn path=/trunk/libcss/; revision=12627
Diffstat (limited to 'src/select/properties/elevation.c')
-rw-r--r--src/select/properties/elevation.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/select/properties/elevation.c b/src/select/properties/elevation.c
index 12b8e22..d893748 100644
--- a/src/select/properties/elevation.c
+++ b/src/select/properties/elevation.c
@@ -17,15 +17,12 @@
css_error css__cascade_elevation(uint32_t opv, css_style *style,
css_select_state *state)
{
- uint16_t value = 0;
css_fixed val = 0;
uint32_t unit = UNIT_DEG;
if (isInherit(opv) == false) {
switch (getValue(opv)) {
case ELEVATION_ANGLE:
- value = 0;
-
val = *((css_fixed *) style->bytecode);
advance_bytecode(style, sizeof(val));