[PR #2400] [MERGED] Fixed errors reported by cppcheck 2.13.0 #2520

Closed
opened 2026-03-04 02:05:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2400
Author: @ggtakec
Created: 1/24/2024
Status: Merged
Merged: 1/24/2024
Merged by: @ggtakec

Base: masterHead: fix_cppcheck213


📝 Commits (1)

  • 03e2160 Fixed errors reported by cppcheck 2.13.0

📊 Changes

8 files changed (+14 additions, -14 deletions)

View changed files

📝 src/fdcache.cpp (+2 -2)
📝 src/fdcache_fdinfo.cpp (+1 -1)
📝 src/fdcache_fdinfo.h (+1 -1)
📝 src/s3fs.cpp (+6 -6)
📝 src/s3fs_util.cpp (+1 -1)
📝 src/string_util.cpp (+1 -1)
📝 src/string_util.h (+1 -1)
📝 src/test_curl_util.cpp (+1 -1)

📄 Description

Relevant Issue (if applicable)

n/a

Details

Fixed an error reported in the new version cppcheck 2.13.0 (recommended use of const declaration).

NOTE

This fix will be merged immediately as it affects future fixes.
@gaul
If you have any problems with the fix, please let me know.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2400 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 1/24/2024 **Status:** ✅ Merged **Merged:** 1/24/2024 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `fix_cppcheck213` --- ### 📝 Commits (1) - [`03e2160`](https://github.com/s3fs-fuse/s3fs-fuse/commit/03e216006c444ae6ed2de327fb0576ecbf097112) Fixed errors reported by cppcheck 2.13.0 ### 📊 Changes **8 files changed** (+14 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache.cpp` (+2 -2) 📝 `src/fdcache_fdinfo.cpp` (+1 -1) 📝 `src/fdcache_fdinfo.h` (+1 -1) 📝 `src/s3fs.cpp` (+6 -6) 📝 `src/s3fs_util.cpp` (+1 -1) 📝 `src/string_util.cpp` (+1 -1) 📝 `src/string_util.h` (+1 -1) 📝 `src/test_curl_util.cpp` (+1 -1) </details> ### 📄 Description ### Relevant Issue (if applicable) n/a ### Details Fixed an error reported in the new version cppcheck 2.13.0 (recommended use of const declaration). #### NOTE This fix will be merged immediately as it affects future fixes. @gaul If you have any problems with the fix, please let me know. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:05:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2520
No description provided.