From a8a6b144ce8cb64a51bf2fbd334e88d9a7e93ef8 Mon Sep 17 00:00:00 2001 From: Darrel O'Pry Date: Fri, 1 Sep 2017 02:42:58 -0400 Subject: [PATCH] initialize sid as 0. This whole section looks like it is being removed in Dev, bit this should fix OpenZWave/open-zwave-control-panel#62 in the mean time. --- webserver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.cpp b/webserver.cpp index f6aa67b..95f5a97 100644 --- a/webserver.cpp +++ b/webserver.cpp @@ -540,7 +540,7 @@ const char *Webserver::SendSceneResponse (struct MHD_Connection *conn, const cha char *fn; int cnt; int i; - uint8 sid; + uint8 sid = 0; TiXmlDeclaration* decl = new TiXmlDeclaration( "1.0", "utf-8", "" ); doc.LinkEndChild(decl); TiXmlElement* scenesElement = new TiXmlElement("scenes");