Fix return-type warnings with harness library and basic test (#776)

* Fix offending `-Wreturn-type` in harness library

* Fix offending `-Wreturn-type` in basic test
This commit is contained in:
Ankit Goyal
2020-05-18 17:33:17 +05:30
committed by GitHub
parent 3afe926416
commit 833f0d029e
3 changed files with 26 additions and 15 deletions

View File

@@ -599,6 +599,7 @@ static const TypeInfo& l_find_type( const char* name )
if ( 0 == strcmp( name, type_info[i].get_name_c_str() ) ) return type_info[i];
}
assert(0);
return TypeInfo();
}