Evas filters: Remove logically dead code
authorJean-Philippe Andre <jp.andre@samsung.com>
Wed, 14 May 2014 08:42:54 +0000 (17:42 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 14 May 2014 09:39:53 +0000 (18:39 +0900)
CID 1181889

src/lib/evas/filters/evas_filter.c

index 2172efc..b8ae831 100644 (file)
@@ -1125,7 +1125,6 @@ evas_filter_command_blur_add(Evas_Filter_Context *ctx, void *drawctx,
         int render_op;
 
         if (!cmd) goto fail;
-        if (!copybuf) goto fail;
         DBG("Add copy %d -> %d", copybuf->id, blur_out->id);
         cmd->ENFN->context_color_set(cmd->ENDT, drawctx, 0, 0, 0, 255);
         render_op = cmd->ENFN->context_render_op_get(cmd->ENDT, drawctx);