summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2008-12-04 23:55:05 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2008-12-04 23:55:05 +0000
commite65407cdbb6991d6656f448e8d19abfc59bf1ed2 (patch)
tree6a423ba7f36a66432ae9d5ce14593e75d9fa7ec5
parent09f3e4ad5fbfa8556f4977e3b230a352b869cd28 (diff)
Kill obviously dead variable.
-rw-r--r--app/cwm/calmwm.h4
-rw-r--r--app/cwm/xevents.c5
2 files changed, 3 insertions, 6 deletions
diff --git a/app/cwm/calmwm.h b/app/cwm/calmwm.h
index 371bc9a4a..2f6f78573 100644
--- a/app/cwm/calmwm.h
+++ b/app/cwm/calmwm.h
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: calmwm.h,v 1.68 2008/09/29 23:16:46 oga Exp $
+ * $Id: calmwm.h,v 1.69 2008/12/04 23:55:04 oga Exp $
*/
#ifndef _CALMWM_H_
@@ -116,8 +116,6 @@ struct client_ctx {
int x,y;
} ptr;
- int beepbeep;
-
int xproto;
int flags;
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index 57e2ef2b0..24053f2b2 100644
--- a/app/cwm/xevents.c
+++ b/app/cwm/xevents.c
@@ -15,7 +15,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
- * $Id: xevents.c,v 1.29 2008/09/29 23:16:46 oga Exp $
+ * $Id: xevents.c,v 1.30 2008/12/04 23:55:04 oga Exp $
*/
/*
@@ -51,8 +51,7 @@ xev_handle_maprequest(struct xevent *xev, XEvent *ee)
XGetWindowAttributes(X_Dpy, e->window, &xattr);
cc = client_new(e->window, screen_fromroot(xattr.root), 1);
sc = CCTOSC(cc);
- } else
- cc->beepbeep = 1;
+ }
#ifdef notyet /* XXX - possibly, we shouldn't map if
* the window is withdrawn. */