1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

Coding - Fixing clang-tidy warnings #207

First iteration for fixing warnings for:
- TKernel
- TKMath
- TKGeomBase
This commit is contained in:
dpasukhi
2024-12-21 15:32:44 +00:00
parent 0ffcc44c82
commit f7dea47c33
35 changed files with 93 additions and 161 deletions

View File

@@ -138,7 +138,6 @@ void Message_Msg::Set (const TCollection_ExtendedString& theMsg)
aFormatType = Msg_StringType;
break;
default:
aFormatType = Msg_IndefiniteType;
continue;
}
mySeqOfFormats.Append (Standard_Integer(aFormatType)); // type

View File

@@ -223,7 +223,7 @@ void Message_PrinterOStream::SetConsoleTextColor (Standard_OStream* theOStream,
return;
}
const char* aCode = "\e[0m";
const char* aCode;
switch (theTextColor)
{
case Message_ConsoleColor_Default: