summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-05-27 18:43:14 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-05-27 18:43:14 +0000
commit5b33c1e7231b692ba3f490fb4337cf110822ec25 (patch)
tree09c00c977ec8efa71c907dc93ede01b96a6155c9 /render
parent0e880815f7b9d9dd2cd03d19f8a1adcafb6c966a (diff)
downloadnetsurf-5b33c1e7231b692ba3f490fb4337cf110822ec25.tar.gz
netsurf-5b33c1e7231b692ba3f490fb4337cf110822ec25.tar.bz2
Remove dead assignment
svn path=/trunk/netsurf/; revision=7587
Diffstat (limited to 'render')
-rw-r--r--render/layout.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/render/layout.c b/render/layout.c
index 1d2aee836..8548d7aa6 100644
--- a/render/layout.c
+++ b/render/layout.c
@@ -560,8 +560,6 @@ bool layout_block_context(struct box *block, int viewport_height,
/* Set current cy */
cy += box->height -
(y - box->padding[TOP]);
- /* Update y for any change in height */
- y = box->height + box->padding[TOP];
}
cy += box->padding[BOTTOM] +