commit 5f42bab53aca68b58c3886a16766dace37a86231
parent a1de593e30a734f769a06f730c03e87d10ddb70f
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Tue, 12 Mar 2019 15:28:06 +0100
Fix a warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/senc_scene_analyze.c b/src/senc_scene_analyze.c
@@ -378,7 +378,7 @@ extract_connex_components
/* Write component membership in the global structure
* No need for sync here as an unique thread write a given side */
- STATIC_ASSERT(sizeof(cc->cc_id) >= 4, Cannot_write_IDs_sync_free);
+ {STATIC_ASSERT(sizeof(cc->cc_id) >= 4, Cannot_write_IDs_sync_free);}
ASSERT(IS_ALIGNED(triangles_comp->component, sizeof(cc->cc_id)));
FOR_EACH(ii, 0, sz) {
const side_id_t s = darray_side_id_cdata_get(¤t_component)[ii];