From 452fe4dc895cb6f99a99267512275cc1a2a8c789 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Fri, 1 Nov 2013 16:06:55 +0100 Subject: [PATCH] util: Removed argument that is not used Signed-off-by: Christophe CURIS --- util/wxpaste.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/wxpaste.c b/util/wxpaste.c index 0713308d..96057875 100644 --- a/util/wxpaste.c +++ b/util/wxpaste.c @@ -81,7 +81,7 @@ static Time getTimestamp(Display * dpy, Window win) return ev.xproperty.time; } -static char *fetchSelection(Display * dpy, const char *selection, const char *progName) +static char *fetchSelection(Display *dpy, const char *selection) { Atom selatom = XInternAtom(dpy, selection, False); Atom clipatom = XInternAtom(dpy, "CLIPBOARD", False); @@ -209,7 +209,7 @@ int main(int argc, char **argv) } if (selection_name) { - buf = fetchSelection(dpy, selection_name, __progname); + buf = fetchSelection(dpy, selection_name); } else { buf = NULL; }