changeset 29632:162abe58aaef

build: Initialize QHull context structure in configure test (bug #60016). * m4/acinclude.m4 (OCTAVE_CHECK_LIB_QHULL_OK): Initialize QHull context structure in configure test.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 07 May 2021 23:35:15 +0200
parents dddf60b33de6
children a548bab9eafa
files m4/acinclude.m4
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/m4/acinclude.m4	Fri May 07 13:52:24 2021 -0400
+++ b/m4/acinclude.m4	Fri May 07 23:35:15 2021 +0200
@@ -1461,7 +1461,7 @@
         int n = 4;
         coordT points[8] = { -0.5, -0.5, -0.5, 0.5, 0.5, -0.5, 0.5, 0.5 };
         boolT ismalloc = 0;
-        qhT context;
+        qhT context = { };
         qhT* qh = &context;
         return qh_new_qhull (qh, dim, n, points, ismalloc, "qhull ", 0, stderr);
       ]])],