Skip to content

Commit

Permalink
initialize sid as 0.
Browse files Browse the repository at this point in the history
This whole section looks like it is being removed in Dev, bit this should fix
OpenZWave#62 in the mean time.
  • Loading branch information
dopry committed Sep 1, 2017
1 parent bbbd461 commit a8a6b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit a8a6b14

Please sign in to comment.