forked from enlightenment/efl
gl_drm: Fix a few compilation warnings
warning: expression which evaluates to zero treated as a null pointer constant of type 'void *' [-Wnon-literal-null-conversion]
This commit is contained in:
parent
261d3319df
commit
1ef1c04f42
|
@ -784,13 +784,13 @@ eng_image_plane_assign(void *data, void *image, int x, int y)
|
|||
Ecore_Drm2_Plane *plane = NULL;
|
||||
struct scanout_handle *g;
|
||||
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(image, EINA_FALSE);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(image, NULL);
|
||||
|
||||
re = (Render_Engine *)data;
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(re, EINA_FALSE);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(re, NULL);
|
||||
|
||||
ob = eng_get_ob(re);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(ob, EINA_FALSE);
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(ob, NULL);
|
||||
|
||||
img = image;
|
||||
n = img->native.data;
|
||||
|
|
Loading…
Reference in New Issue