From: Reginald Kennedy Date: Tue, 7 May 2013 14:18:43 +0000 (+0800) Subject: Remove unused local variables. X-Git-Tag: SPECTRWM_2_4_0~20 X-Git-Url: https://code.delx.au/spectrwm/commitdiff_plain/21a0870e7de4ea2087028072502938296c96565b Remove unused local variables. --- diff --git a/spectrwm.c b/spectrwm.c index c49bcf0..5c88059 100644 --- a/spectrwm.c +++ b/spectrwm.c @@ -5306,16 +5306,12 @@ wkill(struct swm_region *r, union arg *args) int floating_toggle_win(struct ws_win *win) { - struct swm_region *r; - if (win == NULL) return (0); if (!win->ws->r) return (0); - r = win->ws->r; - /* reject floating toggles in max stack mode */ if (win->ws->cur_layout == &layouts[SWM_MAX_STACK]) return (0); @@ -5705,14 +5701,12 @@ move(struct ws_win *win, union arg *args) { xcb_timestamp_t timestamp = 0; int move_stp = 0, moving; - struct swm_region *r = NULL; xcb_query_pointer_reply_t *qpr = NULL; xcb_generic_event_t *evt; xcb_motion_notify_event_t *mne; if (win == NULL) return; - r = win->ws->r; if (win->ewmh_flags & EWMH_F_FULLSCREEN) return;