summaryrefslogtreecommitdiffstats
path: root/src/module.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-13 18:42:47 +0000
committerDavid Robillard <d@drobilla.net>2012-05-13 18:42:47 +0000
commit95ee3b7c3b7a861ebaf1c16d35c3bc7010b65a28 (patch)
treea544edd1ae9eae19ca7a6cb1ed2881be3bfc120c /src/module.c
parentd2e198a27cc17f59f64f13076c8a44e9287e19de (diff)
downloadganv-95ee3b7c3b7a861ebaf1c16d35c3bc7010b65a28.tar.gz
ganv-95ee3b7c3b7a861ebaf1c16d35c3bc7010b65a28.tar.bz2
ganv-95ee3b7c3b7a861ebaf1c16d35c3bc7010b65a28.zip
Fix dead assignment.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@4387 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/module.c')
-rw-r--r--src/module.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/module.c b/src/module.c
index c9e2644..e34ccae 100644
--- a/src/module.c
+++ b/src/module.c
@@ -262,7 +262,6 @@ resize_right(GanvModule* module)
// Basic height contains title
double header_height = 2.0 + title_h;
- double height = header_height;
if (impl->embed_item) {
ganv_item_set(impl->embed_item,
@@ -316,7 +315,7 @@ resize_right(GanvModule* module)
h += header_height;
}
- height = y + h + 4.0;
+ double height = y + h + 4.0;
if (impl->embed_item && m.embed_between)
height = MAX(height, impl->embed_height + header_height + 2.0);