jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=65715dafc5720df0ceaa47e4c3a21c42c3ac96ef

commit 65715dafc5720df0ceaa47e4c3a21c42c3ac96ef
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Wed Jan 13 11:11:53 2016 +0900

    Evas filters: Fix unused variables
    
    Thanks @stefan_schmidt for the report
---
 src/lib/evas/filters/evas_filter.c         | 3 ---
 src/lib/evas/filters/evas_filter_private.h | 1 -
 2 files changed, 4 deletions(-)

diff --git a/src/lib/evas/filters/evas_filter.c 
b/src/lib/evas/filters/evas_filter.c
index 61f2e08..01d8c7f 100644
--- a/src/lib/evas/filters/evas_filter.c
+++ b/src/lib/evas/filters/evas_filter.c
@@ -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);
      }
diff --git a/src/lib/evas/filters/evas_filter_private.h 
b/src/lib/evas/filters/evas_filter_private.h
index 5ad458b..e834423 100644
--- a/src/lib/evas/filters/evas_filter_private.h
+++ b/src/lib/evas/filters/evas_filter_private.h
@@ -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

-- 


Reply via email to