commit 8799a8fa052fe60a61798ea8c6e8a994315aac17
parent d2b48fbcc3644d8a7c7391108ed3203c76d1a878
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 15 Mar 2017 14:31:50 +0100
Fix an uninitialised variable
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/solstice_object.c b/src/solstice_object.c
@@ -464,7 +464,7 @@ create_plane
struct ssol_shape** out_ssol_shape)
{
const struct solparser_shape_plane* plane;
- struct ssol_quadric quadric;
+ struct ssol_quadric quadric = SSOL_QUADRIC_DEFAULT;
ASSERT(solstice);
plane = solparser_get_shape_plane(solstice->parser, id);