From 7f8c223719abcedf02e86864c2e594b9ba0ce6dc Mon Sep 17 00:00:00 2001 From: Alexander Dahl Date: Thu, 28 Sep 2023 09:33:58 +0200 Subject: [PATCH] hms: Fix unused-variable warning The particular block was rewritten with commit e5b5972cae72 when fixing alarm stuff. Variables are not reference in that block anymore. Fixes: e5b5972cae72 ("0.7.29 * MqTT alarm data was never sent, fixed * REST API: added alarm data * REST API: made get record obsolete * REST API: added power limit acknowledge `/api/inverter/id/[0-x]` #1072") --- src/hms/hmsPayload.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/hms/hmsPayload.h b/src/hms/hmsPayload.h index e082f059..127e9305 100644 --- a/src/hms/hmsPayload.h +++ b/src/hms/hmsPayload.h @@ -324,7 +324,6 @@ class HmsPayload { if(AlarmData == mPayload[iv->id].txCmd) { uint8_t i = 0; - uint32_t start, end; while(1) { if(0 == iv->parseAlarmLog(i++, payload, payloadLen)) break;