[api] Fix value-initialization of DeviceInfoResponse (#14615)

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
This commit is contained in:
J. Nick Koston
2026-03-07 18:34:35 -10:00
committed by GitHub
parent 66919ef969
commit d55fe9a34b
+1 -1
View File
@@ -1571,7 +1571,7 @@ bool APIConnection::send_ping_response_() {
}
bool APIConnection::send_device_info_response_() {
DeviceInfoResponse resp{};
DeviceInfoResponse resp;
resp.name = StringRef(App.get_name());
resp.friendly_name = StringRef(App.get_friendly_name());
#ifdef USE_AREAS