Evas filters: Fix unused variables

Thanks @stefan_schmidt for the report
This commit is contained in:
Jean-Philippe Andre 2016-01-13 11:11:53 +09:00
parent 81ed0de016
commit 65715dafc5
2 changed files with 0 additions and 4 deletions

View File

@ -1280,8 +1280,6 @@ _filter_target_render(Evas_Filter_Context *ctx)
{
Evas_Filter_Buffer *src, *dst;
void *drawctx, *image = NULL, *surface = NULL;
int cx, cy, cw, ch;
Eina_Bool use_clip = EINA_FALSE;
EINA_SAFETY_ON_FALSE_RETURN_VAL(ctx->target.bufid, EINA_FALSE);
@ -1300,7 +1298,6 @@ _filter_target_render(Evas_Filter_Context *ctx)
if (ctx->target.clip_use)
{
use_clip = ENFN->context_clip_get(ENDT, drawctx, &cx, &cy, &cw, &ch);
ENFN->context_clip_set(ENDT, drawctx, ctx->target.cx, ctx->target.cy,
ctx->target.cw, ctx->target.ch);
}

View File

@ -131,7 +131,6 @@ struct _Evas_Filter_Context
struct
{
int bufid;
void *context;
int x, y;
int cx, cy, cw, ch; // clip
int r, g, b, a; // clip color