From 646c7e10fe6c138fa7e095f8a5542efe569c4fa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Thu, 4 May 2023 16:18:29 -0400
Subject: [PATCH] Remove unised variable.

---
 src/conio/x_events.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/conio/x_events.c b/src/conio/x_events.c
index adf196140c..22c0d4b925 100644
--- a/src/conio/x_events.c
+++ b/src/conio/x_events.c
@@ -493,11 +493,8 @@ static void resize_window()
 
 static void init_mode_internal(int mode)
 {
-	int oldcols;
 	int mw, mh;
 
-	oldcols=x_cvstat.cols;
-
 	x11_get_maxsize(&mw, &mh);
 	pthread_mutex_lock(&vstatlock);
 	if (last) {
-- 
GitLab