Skip to content

Commit c0b2b05

Browse files
mpictortpaviot
authored andcommitted
clstepcore - remove some commented-out code, add keyword FIXME to a comment about known bugs
1 parent 7a68580 commit c0b2b05

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

src/clstepcore/STEPaggregate.cc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ static char rcsid[] = "$Id: STEPaggregate.cc,v 3.0.1.7 1997/11/05 21:59:28 saude
2929

3030
/******************************************************************
3131
** Functions for manipulating aggregate attributes
32-
33-
** KNOWN BUGs:
32+
** FIXME KNOWN BUGs:
3433
** -- treatment of aggregates of reals or ints is inconsistent with
3534
** other aggregates (there's no classes for these)
3635
** -- no two- dimensional aggregates are implemented
@@ -219,7 +218,6 @@ STEPaggregate::ReadValue(istream &in, ErrorDescriptor *err,
219218
if(c == ')')
220219
{
221220
_null = 0;
222-
// validDelims = 1; // expectation for end paren delim is met
223221
}
224222
else // expectation for end paren delim has not been met
225223
{
@@ -700,7 +698,6 @@ EntityAggregate::ReadValue(istream &in, ErrorDescriptor *err,
700698
if(c == ')')
701699
{
702700
_null = 0;
703-
// validDelims = 1; // expectation for end paren delim is met
704701
}
705702
else // expectation for end paren delim has not been met
706703
{
@@ -999,7 +996,6 @@ SelectAggregate::ReadValue(istream &in, ErrorDescriptor *err,
999996
if(c == ')')
1000997
{
1001998
_null = 0;
1002-
// validDelims = 1; // expectation for end paren delim is met
1003999
}
10041000
else // expectation for end paren delim has not been met
10051001
{
@@ -1976,9 +1972,6 @@ RealNode::STEPwrite(SCLstring &s, const char *)
19761972
{
19771973
if(value != S_REAL_NULL)
19781974
{
1979-
// sprintf(tmp, "%.15g", value);
1980-
// sprintf(tmp, "%.*g", Real_Num_Precision, value);
1981-
// s = tmp;
19821975
WriteReal(value,s);
19831976
}
19841977
else

src/clstepcore/STEPcomplex.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,8 +659,6 @@ STEPcomplex::WriteExtMapEntities(SCLstring &buf, const char *currSch)
659659
{
660660

661661
SCLstring tmp;
662-
// sprintf(instanceInfo, "%s(", (char *)StrToUpper( EntityName(), tmp ) );
663-
// buf.Append(instanceInfo);
664662

665663
buf.Append( (char *)StrToUpper(EntityName( currSch ),tmp) );
666664
buf.Append( '(' );

0 commit comments

Comments
 (0)