mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1478] [CLOSED] Fixed errors detected by cppcheck 2.2 #2005
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2005
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1478
Author: @ggtakec
Created: 11/19/2020
Status: ❌ Closed
Base:
master← Head:fix_cppcheck_22📝 Commits (1)
4a6b5e9Fixed errors detected by cppcheck 2.2📊 Changes
2 files changed (+9 additions, -4 deletions)
View changed files
📝
src/curl.cpp(+7 -4)📝
src/curl_util.cpp(+2 -0)📄 Description
Relevant Issue (if applicable)
n/a
Details
Fixed an error detected by cppcheck 2.2.
Errors detected in curl_utils.cpp: nullPointerRedundantCheck is probably a false positive.
I have set the pointer of the variable of etaglist_t to add_etag_list (), but an error was output because it is an auto variable.
For this error, To fix this the memory is allocated and a variable pointer is passed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.