Remove 'set-but-not-used' variables, to shut GCC up.
---
window-copy.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/window-copy.c b/window-copy.c
index afa609e..11cef71 100644
--- a/window-copy.c
+++ b/window-copy.c
@@ -2217,13 +2217,11 @@ void
window_copy_start_drag(struct client *c, unused struct mouse_event *m)
{
struct window_pane *wp;
- struct window_copy_mode_data *data;
u_int x, y;
wp = cmd_mouse_pane(m, NULL, NULL);
if (wp->mode != &window_copy_mode)
return;
- data = wp->modedata;
if (cmd_mouse_at(wp, m, &x, &y, 1) != 0)
return;
@@ -2261,12 +2259,10 @@ void
window_copy_drag_release(unused struct client *c, struct mouse_event *m)
{
struct window_pane *wp;
- struct window_copy_mode_data *data;
wp = cmd_mouse_pane(m, NULL, NULL);
if (wp->mode != &window_copy_mode)
return;
- data = wp->modedata;
window_copy_copy_selection(wp, NULL);
window_pane_reset_mode(wp);
--
2.1.4
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
tmux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-users