Cleanup: compiler warnings

This commit is contained in:
2020-03-09 21:48:08 +01:00
parent 0133d66ada
commit 9c5522f7c8
2 changed files with 1 additions and 2 deletions

View File

@@ -222,7 +222,6 @@ void OVERLAY_wireframe_cache_populate(OVERLAY_Data *vedata,
}
else if (is_mesh && (!is_edit_mode || has_edit_mesh_cage)) {
OVERLAY_ExtraCallBuffers *cb = OVERLAY_extra_call_buffer_get(vedata, ob);
Mesh *me = ob->data;
float *color;
DRW_object_wire_theme_get(ob, draw_ctx->view_layer, &color);

View File

@@ -3221,7 +3221,7 @@ static void gpencil_add_guide_points(const tGPsdata *p,
int segments)
{
bGPdata *gpd = p->gpd;
if ((gpd->runtime.sbuffer_used == 0)) {
if (gpd->runtime.sbuffer_used == 0) {
return;
}