solstice-solver

Solver library of the solstice app
git clone git://git.meso-star.com/solstice-solver.git
Log | Files | Refs | README | LICENSE

commit f1cc9fdd35602972c2023c4ea69d1bcd3f5d618f
parent 3ed75c2474763707a5e71cad55c7f530c5f4d820
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Fri, 26 Aug 2016 16:41:44 +0200

Remove dead code

Diffstat:
Msrc/ssol_object_instance.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/ssol_object_instance.c b/src/ssol_object_instance.c @@ -56,7 +56,6 @@ ssol_object_instantiate { struct ssol_object_instance* instance = NULL; struct ssol_device* dev; - struct s3d_scene* scn = NULL; res_T res = RES_OK; if (!object || !out_instance) { @@ -85,7 +84,6 @@ ssol_object_instantiate if(res != RES_OK) goto error; exit: - if(scn) S3D(scene_ref_put(scn)); if(out_instance) *out_instance = instance; return res; error: