forked from enlightenment/enlightenment
wl-desktop-shell: Remove useless return at end of function
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
609fa7100d
commit
475a246ea9
|
@ -589,13 +589,12 @@ static void
|
|||
_e_xdg_surface_state_add(struct wl_resource *resource, struct wl_array *states, uint32_t state)
|
||||
{
|
||||
uint32_t *s;
|
||||
|
||||
s = wl_array_add(states, sizeof(*s));
|
||||
if (s)
|
||||
*s = state;
|
||||
else
|
||||
wl_resource_post_no_memory(resource);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue