From 54755efae4162c5664bec5d2cb02e2ceeac1d4bf Mon Sep 17 00:00:00 2001 From: zachir Date: Thu, 27 Jan 2022 00:04:44 -0600 Subject: x.c: fix warning about unused variable/function --- x.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/x.c b/x.c index 8f90cc7..5f8c2b6 100644 --- a/x.c +++ b/x.c @@ -208,7 +208,6 @@ static void bpress(XEvent *); static void bmotion(XEvent *); static void propnotify(XEvent *); static void selnotify(XEvent *); -static void selclear_(XEvent *); static void selrequest(XEvent *); static void setsel(char *, Time); static void mousesel(XEvent *, int); @@ -634,12 +633,6 @@ xclipcopy(void) clipcopy(NULL); } -void -selclear_(XEvent *e) -{ - selclear(); -} - void selrequest(XEvent *e) { @@ -1272,7 +1265,6 @@ void xinit(int cols, int rows) { XGCValues gcvalues; - Cursor cursor; Window parent; pid_t thispid = getpid(); XColor xmousefg, xmousebg; -- cgit v1.2.3