[Midnightbsd-cvs] [MidnightBSD/src] 3a6319: prowld: rename shadowing variable s → sock in unit...
Lucas Holt
noreply at github.com
Sat Apr 18 17:26:16 EDT 2026
Branch: refs/heads/feature/prowl
Home: https://github.com/MidnightBSD/src
Commit: 3a63190abf88970d8abe586568b9264b9930b0c4
https://github.com/MidnightBSD/src/commit/3a63190abf88970d8abe586568b9264b9930b0c4
Author: Lucas Holt <luke at foolishgames.com>
Date: 2026-04-18 (Sat, 18 Apr 2026)
Changed paths:
M sbin/prowld/unit.c
Log Message:
-----------
prowld: rename shadowing variable s → sock in unit.c socket parser
The inner prowl_socket_t *s in the sockets block loop shadowed the
outer const char *s used by the string value parser above it.
-Wshadow (promoted to error at WARNS=6) caught this at compile time.
AI-Assisted-by: Claude Sonnet 4.6
Signed-off-by: Lucas Holt <luke at foolishgames.com>
To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/src/settings/notifications
More information about the Midnightbsd-cvs
mailing list