summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2022-01-27 00:04:44 -0600
committerzachir <zachir@librem.one>2022-01-27 00:04:44 -0600
commit54755efae4162c5664bec5d2cb02e2ceeac1d4bf (patch)
tree73b02961534c3eadbd268d1e8c4b2eda02ffeb4e
parente77592fb54057e331dea65d293ede7856d2f2ba1 (diff)
x.c: fix warning about unused variable/function
-rw-r--r--x.c8
1 files changed, 0 insertions, 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);
@@ -635,12 +634,6 @@ xclipcopy(void)
}
void
-selclear_(XEvent *e)
-{
- selclear();
-}
-
-void
selrequest(XEvent *e)
{
XSelectionRequestEvent *xsre;
@@ -1272,7 +1265,6 @@ void
xinit(int cols, int rows)
{
XGCValues gcvalues;
- Cursor cursor;
Window parent;
pid_t thispid = getpid();
XColor xmousefg, xmousebg;