summaryrefslogtreecommitdiff
path: root/src/select/properties/azimuth.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/azimuth.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/azimuth.c')
-rw-r--r--src/select/properties/azimuth.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/select/properties/azimuth.c b/src/select/properties/azimuth.c
index cb5fc61..275ae2f 100644
--- a/src/select/properties/azimuth.c
+++ b/src/select/properties/azimuth.c
@@ -15,15 +15,12 @@
css_error css__cascade_azimuth(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) & ~AZIMUTH_BEHIND) {
case AZIMUTH_ANGLE:
- value = 0;
-
val = *((css_fixed *) style->bytecode);
advance_bytecode(style, sizeof(val));
unit = *((uint32_t *) style->bytecode);