From bf5638ae7ac983e9a689512fec9c964fbbf5cb75 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 31 Mar 2025 15:03:38 +0200 Subject: [PATCH] xwin: drop unused variable WindowsDRIReqCode This variable is assigned once, but never used. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xwin/dri/windowsdri.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/xwin/dri/windowsdri.c b/hw/xwin/dri/windowsdri.c index 5d4c5ea54..7b90cc451 100644 --- a/hw/xwin/dri/windowsdri.c +++ b/hw/xwin/dri/windowsdri.c @@ -36,7 +36,6 @@ #include "glx/dri_helpers.h" static int WindowsDRIErrorBase = 0; -static unsigned char WindowsDRIReqCode = 0; static int WindowsDRIEventBase = 0; static void @@ -259,7 +258,6 @@ WindowsDRIExtensionInit(void) WindowsDRIResetProc, StandardMinorOpcode))) { size_t i; - WindowsDRIReqCode = (unsigned char)extEntry->base; WindowsDRIErrorBase = extEntry->errorBase; WindowsDRIEventBase = extEntry->eventBase; for (i = 0; i < WindowsDRINumberEvents; i++)