OpenDDLExport: Remove dead variable

pull/1498/head
Turo Lamminen 2017-11-15 12:14:56 +02:00
parent be1d346c28
commit ef91211231
1 changed files with 1 additions and 2 deletions

View File

@ -135,10 +135,9 @@ bool OpenDDLExport::writeToStream( const std::string &statement ) {
}
bool OpenDDLExport::writeNode( DDLNode *node, std::string &statement ) {
bool success( true );
writeNodeHeader( node, statement );
if (node->hasProperties()) {
success |= writeProperties( node, statement );
writeProperties( node, statement );
}
writeLineEnd( statement );