summaryrefslogtreecommitdiff
path: root/src/select/properties/volume.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/volume.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/volume.c')
-rw-r--r--src/select/properties/volume.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/select/properties/volume.c b/src/select/properties/volume.c
index 16f6560..ca0e9dd 100644
--- a/src/select/properties/volume.c
+++ b/src/select/properties/volume.c
@@ -17,21 +17,16 @@
css_error css__cascade_volume(uint32_t opv, css_style *style,
css_select_state *state)
{
- uint16_t value = 0;
css_fixed val = 0;
uint32_t unit = UNIT_PCT;
if (isInherit(opv) == false) {
switch (getValue(opv)) {
case VOLUME_NUMBER:
- value = 0;
-
val = *((css_fixed *) style->bytecode);
advance_bytecode(style, sizeof(val));
break;
case VOLUME_DIMENSION:
- value = 0;
-
val = *((css_fixed *) style->bytecode);
advance_bytecode(style, sizeof(val));
unit = *((uint32_t *) style->bytecode);