[PR #6868] [MERGED] build: cppcheck: ignore src/lib/syscalls.c #6206

Closed
opened 2026-05-05 10:52:40 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/6868
Author: @kmk3
Created: 8/18/2025
Status: Merged
Merged: 8/18/2025
Merged by: @netblue30

Base: masterHead: cppcheck-ignore-syscalls-c


📝 Commits (1)

  • a8c1315 build: cppcheck: ignore src/lib/syscalls.c

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 Makefile (+1 -0)

📄 Description

cppcheck 2.18.0 fails to parse this file:

$ cppcheck --version
Cppcheck 2.18.0
$ cppcheck -q --force --error-exitcode=1 \
  --enable=warning,performance --max-ctu-depth=40 \
  src/lib/syscall.c
cppcheck: --max-ctu-depth is being capped at 10. This limitation will be removed in a future Cppcheck version.
src/lib/syscall.c:80:26: error: syntax error [syntaxError]
 { .name = "@aio", .list =
                         ^
src/lib/syscall.c:109:31: error: syntax error [syntaxError]
 { .name = "@basic-io", .list =
                              ^

🔄 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/netblue30/firejail/pull/6868 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 8/18/2025 **Status:** ✅ Merged **Merged:** 8/18/2025 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `cppcheck-ignore-syscalls-c` --- ### 📝 Commits (1) - [`a8c1315`](https://github.com/netblue30/firejail/commit/a8c13152ac687d3a89e729a4586705ce28d4530c) build: cppcheck: ignore src/lib/syscalls.c ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+1 -0) </details> ### 📄 Description cppcheck 2.18.0 fails to parse this file: $ cppcheck --version Cppcheck 2.18.0 $ cppcheck -q --force --error-exitcode=1 \ --enable=warning,performance --max-ctu-depth=40 \ src/lib/syscall.c cppcheck: --max-ctu-depth is being capped at 10. This limitation will be removed in a future Cppcheck version. src/lib/syscall.c:80:26: error: syntax error [syntaxError] { .name = "@aio", .list = ^ src/lib/syscall.c:109:31: error: syntax error [syntaxError] { .name = "@basic-io", .list = ^ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:52:40 -06: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: github-starred/firejail#6206
No description provided.