summaryrefslogtreecommitdiff
path: root/desktop-shell
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-04-29 16:38:23 -0700
committerKristian Høgsberg <krh@bitplanet.net>2014-04-29 16:38:23 -0700
commit3434b33b19561e2de2711907e82eef51d9aa8831 (patch)
tree9b13dc531f5cf4b5606fc50229192723e5bdacd6 /desktop-shell
parent9e7c7598aa44a9caaa5ebd525426623e8e86880e (diff)
downloadweston-3434b33b19561e2de2711907e82eef51d9aa8831.tar.gz
desktop-shell: Remove unused variables
Diffstat (limited to 'desktop-shell')
-rw-r--r--desktop-shell/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-shell/shell.c b/desktop-shell/shell.c
index 9eda814c..66b7618b 100644
--- a/desktop-shell/shell.c
+++ b/desktop-shell/shell.c
@@ -1469,7 +1469,7 @@ constrain_position(struct weston_move_grab *move, int *cx, int *cy)
{
struct shell_surface *shsurf = move->base.shsurf;
struct weston_pointer *pointer = move->base.grab.pointer;
- int x, y, panel_height, bottom, left, right;
+ int x, y, panel_height, bottom;
const int safety = 50;
x = wl_fixed_to_int(pointer->x + move->dx);