Skip to content

Fix compiler warnings - #15

Open
sithglan wants to merge 1 commit into
pcarrier:masterfrom
sithglan:compilerwarnings
Open

sithglan wants to merge 1 commit into
pcarrier:masterfrom
sithglan:compilerwarnings

Conversation

@sithglan

@sithglan sithglan commented Apr 1, 2026

Copy link
Copy Markdown
  • Added /* fall through */ comments to 10 intentional switch case fallthroughs (from PROC_PATH_ROOT_SUBDIR to PROC_PATH_PROXY_DIR).
  • Replaced 3 strncpy calls with memcpy since the null terminator was already set manually (also simplified strlen(user_options.mount_dir) to the already-computed buflen1)

- Added /* fall through */ comments to 10 intentional switch case
  fallthroughs (from PROC_PATH_ROOT_SUBDIR to PROC_PATH_PROXY_DIR).
- Replaced 3 strncpy calls with memcpy since the null terminator was
  already set manually (also simplified strlen(user_options.mount_dir)
  to the already-computed buflen1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant