shell: Fix warning and indentation in shell_surface_configure()
diff --git a/src/shell.c b/src/shell.c
index b033529..1522e99 100644
--- a/src/shell.c
+++ b/src/shell.c
@@ -3514,11 +3514,11 @@
{
struct shell_surface *shsurf = get_shell_surface(es);
struct desktop_shell *shell = shsurf->shell;
- struct weston_compositor *compositor = shsurf->surface->compositor;
int type_changed = 0;
- if (!weston_surface_is_mapped(es) && !wl_list_empty(&shsurf->popup.grab_link)) {
+ if (!weston_surface_is_mapped(es) &&
+ !wl_list_empty(&shsurf->popup.grab_link)) {
remove_popup_grab(shsurf);
}