diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-08-07 16:43:13 -0400 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2014-08-08 14:59:48 -0700 |
commit | 666bc9234a4828da3159dca1743db1c4083a396c (patch) | |
tree | 52909f1754ef87b0ee3e6afd06174a04b4502f66 | |
parent | c91408f3fb7e9a98e787e9f7e370b0298083431b (diff) | |
download | weston-666bc9234a4828da3159dca1743db1c4083a396c.tar.gz |
desktop-shell: Add a missing return; in an error path
-rw-r--r-- | desktop-shell/shell.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c index 250cf884..73709725 100644 --- a/desktop-shell/shell.c +++ b/desktop-shell/shell.c @@ -3741,6 +3741,7 @@ xdg_get_xdg_popup(struct wl_client *client, wl_resource_post_error(surface_resource, WL_DISPLAY_ERROR_INVALID_OBJECT, "xdg_shell::get_xdg_popup requires a parent shell surface"); + return; } parent = wl_resource_get_user_data(parent_resource); |