diff --git a/src/conio/x_events.c b/src/conio/x_events.c index adf196140c37bad829d5bd7caa589ee318fef52a..22c0d4b925946b23a993963450bd9048745940a8 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) {