discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=fb51f4d98df2e99e0b5dbdb799fcee81e46aebbf

commit fb51f4d98df2e99e0b5dbdb799fcee81e46aebbf
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Feb 29 10:37:45 2016 -0500

    remove impossible null check in color dialog
    
    CID 1294267
---
 src/bin/e_color_dialog.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_color_dialog.c b/src/bin/e_color_dialog.c
index 86ab5ed..54d3c78 100644
--- a/src/bin/e_color_dialog.c
+++ b/src/bin/e_color_dialog.c
@@ -123,7 +123,7 @@ _e_color_dialog_cb_csel_change(void *data, Evas_Object 
*obj, void *ev EINA_UNUSE
    re = evas_object_data_get(obj, "rect");
    evas_color_argb_premul(dia->color->a, &r, &g, &b);
    evas_object_color_set(re, r, g, b, dia->color->a);
-   if (dia->change_func && dia->color)
+   if (dia->change_func)
      dia->change_func(dia, dia->color, dia->change_data);
 }
 

-- 


Reply via email to