[warning-fix][-Wreturn-type]

This commit is contained in:
Mark Pictor
2011-08-20 06:05:40 -04:00
parent 082cd84c7f
commit 99407fb5e5
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -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() {
-2
View File
@@ -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
}
/*