Cleanup: Silent compiler warnings

This commit is contained in:
Antonio Vazquez 2018-08-15 22:53:57 +02:00
parent 08f5986d21
commit 8661563156
1 changed files with 0 additions and 4 deletions

View File

@ -549,9 +549,7 @@ void GPENCIL_cache_populate(void *vedata, Object *ob)
Scene *scene = draw_ctx->scene;
ToolSettings *ts = scene->toolsettings;
View3D *v3d = draw_ctx->v3d;
tGPencilObjectCache *cache_ob = NULL;
/* object datablock (this is not draw now) */
if (ob->type == OB_GPENCIL && ob->data) {
bGPdata *gpd = (bGPdata *)ob->data;
@ -573,8 +571,6 @@ void GPENCIL_cache_populate(void *vedata, Object *ob)
stl->g_data->gp_object_cache, ob,
&stl->g_data->gp_cache_size, &stl->g_data->gp_cache_used);
cache_ob = &stl->g_data->gp_object_cache[stl->g_data->gp_cache_used - 1];
/* load drawing data */
gpencil_add_draw_data(vedata, ob);
}