From 3fd460637afd2575c243bc7a23db9f652da73875 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Tue, 16 Sep 2025 23:21:01 +0200 Subject: [PATCH] remove unneeded code. --- apps/aqhome-cgi/modules/mdevices.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/aqhome-cgi/modules/mdevices.c b/apps/aqhome-cgi/modules/mdevices.c index 31f11bd..1f20fd8 100644 --- a/apps/aqhome-cgi/modules/mdevices.c +++ b/apps/aqhome-cgi/modules/mdevices.c @@ -198,8 +198,6 @@ void _runIndex(AQH_MODULE *m, AQCGI_REQUEST *rq, AQH_SESSION *session, AQH_DATAC DBG_ERROR(NULL, "No device received"); GBAS(dbuf, "Empty device list."); GBAS(dbuf, "

No devices.

"); - AQCGI_Request_SetResponseCode(rq, 200); - AQCGI_Request_SetResponseText(rq, "Ok"); return; }