summaryrefslogtreecommitdiff
path: root/src/select/properties/volume.c
diff options
context:
space:
mode:
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);