Fix warnings that I don't get.

This commit is contained in:
Kris Maglione 2009-09-29 14:50:57 -04:00
parent b475b96684
commit 0c4e480e44
3 changed files with 3 additions and 8 deletions

View File

@ -373,6 +373,7 @@ view_attach(View *v, Frame *f) {
|| group_leader(c->group)
&& !client_viewframe(group_leader(c->group),
c->sel->view);
USED(newgroup);
if(!(c->w.ewmh.type & (TypeSplash|TypeDock))) {
if(!(c->tagre.regex && regexec(c->tagre.regc, v->name, nil, 0)))

View File

@ -1047,7 +1047,8 @@ setfocus(Window *w, int mode) {
XWindow
getfocus(void) {
XWindow ret, revert;
XWindow ret;
int revert;
XGetInputFocus(display, &ret, &revert);
return ret;

View File

@ -20,7 +20,6 @@ enum {
static void* xlib;
static long lastwin;
static long transient;
static Atom types[32];
static long ntypes;
@ -89,12 +88,6 @@ init(Display *d) { /* Hrm... assumes one display... */
gethostname(hostname, sizeof hostname);
}
static int /* Temporary Xlib error handler */
ignoreerrors(Display *d, XErrorEvent *e) {
//USED(d, e);
return 0;
}
static void
setprops(Display *d, Window w) {
long *l;