about summary refs log tree commit diff stats
path: root/src/css/values.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-24 23:01:36 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-24 23:01:36 +0100
commitacf7cfad349f45bc97d84e9d0690aa36b1332919 (patch)
treea15c55f193ed34a28ea8cf9f12dbf2e723983bdc /src/css/values.nim
parentfc73013902e05eb7c2a9750bf804f2e356bd30f1 (diff)
downloadchawan-acf7cfad349f45bc97d84e9d0690aa36b1332919.tar.gz
Remove some unused declarations
Diffstat (limited to 'src/css/values.nim')
-rw-r--r--src/css/values.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/css/values.nim b/src/css/values.nim
index 87ac9e2d..fb1d6d63 100644
--- a/src/css/values.nim
+++ b/src/css/values.nim
@@ -760,7 +760,6 @@ func equals*(a, b: CSSSpecifiedValue): bool =
   return false
 
 proc applyValue(vals, parent: CSSSpecifiedValues, t: CSSPropertyType, val: CSSSpecifiedValue, global: CSSGlobalValueType) =
-  let oval = vals[t]
   case global
   of VALUE_INHERIT, VALUE_UNSET:
     if inherited(t):
@@ -777,7 +776,6 @@ proc applyValue(vals, parent: CSSSpecifiedValues, t: CSSPropertyType, val: CSSSp
 proc applyValue*(vals, parent: CSSSpecifiedValues, d: CSSDeclaration) =
   let vv = getSpecifiedValue(d, parent)
   let val = vv.a
-  let oval = vals[val.t]
   case val.t
   of PROPERTY_ALL:
     let global = cssGlobal(d)