1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

0032460: Coding Rules - eliminate CLang warning -Wunused-but-set-variable

Code has been adjusted to suppress -Wunused-but-set-variable warnings.

DRAWEXE.wasm, compiler flags have been moved to linker flags
to eliminiate -Wunused-command-line-argument warnings.
This commit is contained in:
kgv
2021-06-24 23:07:37 +03:00
parent 503374ad84
commit 73dee81133
15 changed files with 123 additions and 58 deletions

View File

@@ -178,6 +178,8 @@ Standard_Boolean XmlMDF::FromTo (const XmlObjMgt_Element& theElement,
// check for error
if (subcount < 0)
return Standard_False;
(void )count; // unused but set for debug
count += subcount;
}
//anElem = (const XmlObjMgt_Element &) anElem.getNextSibling();