mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #959] [MERGED] Fixed code for latest cppcheck error on OSX #1729
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#1729
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/959
Author: @ggtakec
Created: 2/17/2019
Status: ✅ Merged
Merged: 2/17/2019
Merged by: @ggtakec
Base:
master← Head:master📝 Commits (1)
eeb8392Fixed code for latest cppcheck error on OSX📊 Changes
6 files changed (+11 additions, -7 deletions)
View changed files
📝
Makefile.am(+2 -0)📝
src/curl.cpp(+2 -3)📝
src/gnutls_auth.cpp(+1 -0)📝
src/s3fs.cpp(+3 -3)📝
src/s3fs_util.cpp(+2 -0)📝
src/string_util.cpp(+1 -1)📄 Description
Relevant Issue (if applicable)
n/a
Details
With the upgrade of cppcheck used by OSX on TravisCI, cppcheck error appeared.
I corrected these errors.
Since the version of cppcheck depends on the build OS, the code for handling it complicates.
Therefore, inline cppcheck-suppress prevented it(Even if it is unnecessary code, I want to keep it).
Added --suppress=unmatchedSuppression and --xml(to show error id) in cppcheck options.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.