diff options
| author | Kuniyuki Iwashima <kuniyu@google.com> | 2025-08-11 21:53:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-12 18:01:53 -0700 |
| commit | fd9faac372cc5f95ca537be5e3daf044c87ffae1 (patch) | |
| tree | 3824eb757f08735e03cb7dfbb1fba61901c6ea18 /rust/helpers/platform.c | |
| parent | 9a58d8e68252af07138a2530a22f081ef0b070c1 (diff) | |
selftest: af_unix: Silence -Wall warning for scm_pid.c.
-Wall found 2 unused variables in scm_pid.c:
scm_pidfd.c: In function ‘parse_cmsg’:
scm_pidfd.c:140:13: warning: unused variable ‘data’ [-Wunused-variable]
140 | int data = 0;
| ^~~~
scm_pidfd.c: In function ‘cmsg_check_dead’:
scm_pidfd.c:246:15: warning: unused variable ‘client_pid’ [-Wunused-variable]
246 | pid_t client_pid;
| ^~~~~~~~~~
Let's remove these variables.
Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20250811215432.3379570-5-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
