summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorOkan Demirmen <okan@cvs.openbsd.org>2009-01-11 18:25:50 +0000
committerOkan Demirmen <okan@cvs.openbsd.org>2009-01-11 18:25:50 +0000
commit8dd76d45a952ddc57c43ec76206a406ffc688667 (patch)
tree920425c6e5a2ad9c810a05c25d9ab45ac1b11fc5 /app
parent4188a9809ebbc208378059fdbbd6a65cbf109177 (diff)
remove unused variables
ok oga@
Diffstat (limited to 'app')
-rw-r--r--app/cwm/screen.c6
-rw-r--r--app/cwm/xevents.c3
2 files changed, 4 insertions, 5 deletions
diff --git a/app/cwm/screen.c b/app/cwm/screen.c
index ee5a001bb..099543f8d 100644
--- a/app/cwm/screen.c
+++ b/app/cwm/screen.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: screen.c,v 1.12 2009/01/06 00:19:55 okan Exp $
+ * $Id: screen.c,v 1.13 2009/01/11 18:25:49 okan Exp $
*/
#include "headers.h"
@@ -71,8 +71,8 @@ screen_updatestackingorder(void)
void
screen_init_xinerama(struct screen_ctx *sc)
{
- XineramaScreenInfo *info;
- int no, fake;
+ XineramaScreenInfo *info;
+ int no;
if (HasXinerama == 0 || XineramaIsActive(X_Dpy) == 0) {
HasXinerama = 0;
diff --git a/app/cwm/xevents.c b/app/cwm/xevents.c
index fdd766177..def99e0ee 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.31 2009/01/06 00:18:07 okan Exp $
+ * $Id: xevents.c,v 1.32 2009/01/11 18:25:49 okan Exp $
*/
/*
@@ -222,7 +222,6 @@ xev_handle_buttonpress(struct xevent *xev, XEvent *ee)
struct client_ctx *cc;
struct screen_ctx *sc;
struct mousebinding *mb;
- char *wname;
sc = screen_fromroot(e->root);
cc = client_find(e->window);