diff options
author | David Robillard <d@drobilla.net> | 2022-07-19 21:19:18 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-13 18:17:46 -0400 |
commit | c601ed233ea995417673cbcb86ab13810c70a878 (patch) | |
tree | 87cc43e9609164bd7ebf370a269bf6b349be452a | |
parent | c83478ea0a19cc7fdf6e2cc228ed3697990732fe (diff) | |
download | ganv-c601ed233ea995417673cbcb86ab13810c70a878.tar.gz ganv-c601ed233ea995417673cbcb86ab13810c70a878.tar.bz2 ganv-c601ed233ea995417673cbcb86ab13810c70a878.zip |
Fix unused parameter warnings when graphviz is disabled
-rw-r--r-- | src/Canvas.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp index 20d26fc..bc6ed00 100644 --- a/src/Canvas.cpp +++ b/src/Canvas.cpp @@ -2661,6 +2661,8 @@ ganv_canvas_arrange(GanvCanvas* canvas) const double y = GANV_ITEM(*i)->impl->y; g_signal_emit(*i, signal_moved, 0, x, y, NULL); } +#else + (void)canvas; #endif } @@ -2738,6 +2740,9 @@ ganv_canvas_export_dot(GanvCanvas* canvas, const char* filename) #ifdef HAVE_AGRAPH GVNodes nodes = canvas->impl->layout_dot(filename); nodes.cleanup(); +#else + (void)canvas; + (void)filename; #endif } |