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.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/select/properties/volume.c b/src/select/properties/volume.c
index b2b7b5e..aaa7d18 100644
--- a/src/select/properties/volume.c
+++ b/src/select/properties/volume.c
@@ -85,14 +85,3 @@ css_error compose_volume(const css_computed_style *parent,
return CSS_OK;
}
-uint32_t destroy_volume(void *bytecode)
-{
- uint32_t value = getValue(*((uint32_t*)bytecode));
- uint32_t additional = 0;
- if (value == VOLUME_NUMBER)
- additional = sizeof(css_fixed);
- else if (value == VOLUME_DIMENSION)
- additional = sizeof(css_fixed) + sizeof(uint32_t);
-
- return sizeof(uint32_t) + additional;
-}