mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-03 13:07:24 +00:00
Added comment for nullPointerRedundantCheck/cppcheck2.2
This commit is contained in:
parent
f8d5b76edb
commit
533322859d
@ -76,6 +76,8 @@ struct curl_slist* curl_slist_sort_insert(struct curl_slist* list, const char* k
|
|||||||
}
|
}
|
||||||
new_item->next = NULL;
|
new_item->next = NULL;
|
||||||
|
|
||||||
|
// cppcheck-suppress unmatchedSuppression
|
||||||
|
// cppcheck-suppress nullPointerRedundantCheck
|
||||||
for(lastpos = NULL, curpos = list; curpos; lastpos = curpos, curpos = curpos->next){
|
for(lastpos = NULL, curpos = list; curpos; lastpos = curpos, curpos = curpos->next){
|
||||||
std::string strcur = curpos->data;
|
std::string strcur = curpos->data;
|
||||||
size_t pos;
|
size_t pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user