From f8ab2efd4768420a8bb1968d07dc4c4832aad657 Mon Sep 17 00:00:00 2001
From: Joseph Mirabel <jmirabel@laas.fr>
Date: Thu, 14 Nov 2019 15:26:54 +0100
Subject: [PATCH] [Minor] Fix compilation warning.

---
 src/BVH/BVH_model.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/BVH/BVH_model.cpp b/src/BVH/BVH_model.cpp
index a56cf1ac..bba163c7 100644
--- a/src/BVH/BVH_model.cpp
+++ b/src/BVH/BVH_model.cpp
@@ -422,7 +422,8 @@ int BVHModelBase::beginReplaceModel()
     return BVH_ERR_BUILD_EMPTY_PREVIOUS_FRAME;
   }
 
-  if(prev_vertices) delete [] prev_vertices; prev_vertices = NULL;
+  if(prev_vertices) delete [] prev_vertices;
+  prev_vertices = NULL;
 
   num_vertex_updated = 0;
 
-- 
GitLab