[warning-fix][-Wreturn-type]
This commit is contained in:
@@ -47,6 +47,8 @@ STEPattribute & STEPattributeList::operator []( int n ) {
|
||||
// else
|
||||
cerr << "\nERROR in STEP Core library: " << __FILE__ << ":"
|
||||
<< __LINE__ << "\n" << _POC_ << "\n\n";
|
||||
abort();
|
||||
return *(STEPattribute*) 0; //will never get here, but gcc produces warning
|
||||
}
|
||||
|
||||
int STEPattributeList::list_length() {
|
||||
|
||||
@@ -30,9 +30,7 @@ Symbol *
|
||||
UNK_get_symbol( Generic x ) {
|
||||
fprintf( stderr, "OBJget_symbol called on object of unknown type\n" );
|
||||
ERRORabort( 0 );
|
||||
#if defined(lint) || defined(CENTERLINE)
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user