diff options
author | David Robillard <d@drobilla.net> | 2020-11-29 11:52:57 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-29 11:53:37 +0100 |
commit | 8c3e0c4d90fce56f59aab84f1f62aaf484706ce1 (patch) | |
tree | 06cfb0e27aaa946b2ebb2f911bff49c05e484a56 /src/node.c | |
parent | 29d31fd1a61e860c69a5a8b8b32156cea9075ae8 (diff) | |
download | ganv-8c3e0c4d90fce56f59aab84f1f62aaf484706ce1.tar.gz ganv-8c3e0c4d90fce56f59aab84f1f62aaf484706ce1.tar.bz2 ganv-8c3e0c4d90fce56f59aab84f1f62aaf484706ce1.zip |
Fix Wunused-parameter warnings
Diffstat (limited to 'src/node.c')
-rw-r--r-- | src/node.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -168,6 +168,13 @@ static void ganv_node_draw(GanvItem* item, cairo_t* cr, double cx, double cy, double cw, double ch) { + (void)item; + (void)cr; + (void)cx; + (void)cy; + (void)cw; + (void)ch; + /* TODO: Label is not drawn here because ports need to draw control rects then the label on top. I can't see a way of solving this since there's no single time parent class draw needs to be called, so perhaps @@ -280,6 +287,8 @@ ganv_node_default_tail_vector(const GanvNode* self, double* dx, double* dy) { + (void)head; + GanvCanvas* canvas = ganv_item_get_canvas(GANV_ITEM(self)); *x = GANV_ITEM(self)->impl->x; @@ -307,6 +316,8 @@ ganv_node_default_head_vector(const GanvNode* self, double* dx, double* dy) { + (void)tail; + GanvCanvas* canvas = ganv_item_get_canvas(GANV_ITEM(self)); *x = GANV_ITEM(self)->impl->x; |