]> granicus.if.org Git - graphviz/commitdiff
GD plugin gdgen_end_page: squash -Wmissing-field-initializers warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 20 Aug 2022 03:26:21 +0000 (20:26 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 21 Aug 2022 17:53:19 +0000 (10:53 -0700)
plugin/gd/gvrender_gd.c

index aa8fc55e297d08841cbeeb76d57b9b83e190a66f..fe2dafd4b851348053fadc01c9cb94ae0416f4b5 100644 (file)
@@ -145,7 +145,7 @@ static void gdgen_end_page(GVJ_t * job)
 {
     gdImagePtr im = job->context;
 
-    gd_context_t gd_context = {{0}};
+    gd_context_t gd_context = {{0}, 0};
 
     gd_context.ctx.putBuf = gvdevice_gd_putBuf;
     gd_context.ctx.putC = gvdevice_gd_putC;