mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0032341: Coding Rules - eliminate GCC11 compiler warnings -Wmaybe-uninitialized
This commit is contained in:
@@ -770,7 +770,7 @@ void StepData_StepWriter::Send (const Standard_Integer val)
|
||||
void StepData_StepWriter::Send (const Standard_Real val)
|
||||
{
|
||||
// Valeur flottante, expurgee de "0000" qui trainent et de "E+00"
|
||||
char lval[24];
|
||||
char lval[24] = {};
|
||||
Standard_Integer lng = thefloatw.Write(val,lval);
|
||||
AddParam();
|
||||
AddString(lval,lng); // gere le format specifique : si besoin est
|
||||
|
Reference in New Issue
Block a user