lib: don't clear entire APP_VERSION struct in APP_VERSION::parse_coproc()

This commit is contained in:
Charlie Fenton 2012-10-18 23:06:27 -07:00 committed by Oliver Bock
parent 6550c6927a
commit 062e401816
2 changed files with 6 additions and 1 deletions

View File

@ -6256,3 +6256,9 @@ Charlie 18 Oct 2012
sg_TaskPanel.cpp
lib/
gui_rpc_client_ops.cpp
Charlie 18 Oct 2012
- lib: don't clear entire APP_VERSION struct in APP_VERSION::parse_coproc().
lib/
gui_rpc_client_ops.cpp

View File

@ -478,7 +478,6 @@ APP_VERSION::~APP_VERSION() {
}
int APP_VERSION::parse_coproc(XML_PARSER& xp) {
memset(this, 0, sizeof(APP_VERSION));
while (!xp.get_tag()) {
if (xp.match_tag("/coproc")) {
return 0;