We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 082cd84 commit 99407fbCopy full SHA for 99407fb
src/clstepcore/STEPattributeList.cc
@@ -47,6 +47,8 @@ STEPattribute & STEPattributeList::operator []( int n ) {
47
// else
48
cerr << "\nERROR in STEP Core library: " << __FILE__ << ":"
49
<< __LINE__ << "\n" << _POC_ << "\n\n";
50
+ abort();
51
+ return *(STEPattribute*) 0; //will never get here, but gcc produces warning
52
}
53
54
int STEPattributeList::list_length() {
src/express/object.c
@@ -30,9 +30,7 @@ Symbol *
30
UNK_get_symbol( Generic x ) {
31
fprintf( stderr, "OBJget_symbol called on object of unknown type\n" );
32
ERRORabort( 0 );
33
-#if defined(lint) || defined(CENTERLINE)
34
return 0;
35
-#endif
36
37
38
/*
0 commit comments