From: Magnus Jacobsson Date: Sat, 7 Nov 2020 14:01:44 +0000 (+0100) Subject: Remove 2 -Wunused-variable warnings in gvrender_gd.c X-Git-Tag: 2.46.0~11^2~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d489309b030925bde123d93bab830afe912d71e0;p=graphviz Remove 2 -Wunused-variable warnings in gvrender_gd.c --- diff --git a/plugin/gd/gvrender_gd.c b/plugin/gd/gvrender_gd.c index ddc89cf2f..a318b0870 100644 --- a/plugin/gd/gvrender_gd.c +++ b/plugin/gd/gvrender_gd.c @@ -637,6 +637,7 @@ static gvrender_features_t render_features_gd = { RGBA_BYTE, /* color_type */ }; +#ifdef HAVE_GD_GIF static gvdevice_features_t device_features_gd = { GVDEVICE_BINARY_FORMAT, /* flags */ {0.,0.}, /* default margin - points */ @@ -651,6 +652,7 @@ static gvdevice_features_t device_features_gd_tc = { {0.,0.}, /* default page width, height - points */ {96.,96.}, /* default dpi */ }; +#endif static gvdevice_features_t device_features_gd_tc_no_writer = { GVDEVICE_BINARY_FORMAT