Fix clang 6.0 warnings in tests: unused members, suspicious return types

This commit is contained in:
Ion Gaztañaga
2018-09-18 14:26:31 +02:00
parent d94fbc76cc
commit 99326f50fb
9 changed files with 20 additions and 4 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ int main()
int checker = 0;
for( intrusive_list_t::const_iterator it = plist->begin(), itend(plist->end())
; it != itend; ++it, ++checker){
if(it->get() != checker) return false;
if(it->get() != checker) return 1;
}
//Now delete the list and after that, the nodes