Cleanup: fix warning about unused parameter.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 8 Mar 2019 17:19:01 +0000 (18:19 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Mon, 11 Mar 2019 13:34:13 +0000 (14:34 +0100)
source/blender/blenkernel/intern/data_transfer.c

index cf6a5a7..779128b 100644 (file)
@@ -278,6 +278,7 @@ static void data_transfer_dtdata_type_preprocess(
                /* This should be ensured by cddata_masks we pass to code generating/giving us me_src now. */
                BLI_assert(CustomData_get_layer(&me_src->ldata, CD_NORMAL) != NULL);
                BLI_assert(CustomData_get_layer(&me_src->pdata, CD_NORMAL) != NULL);
+               (void)me_src;
 
                float (*poly_nors_dst)[3];
                float (*loop_nors_dst)[3];