Projects
openEuler:24.03:SP1:Everything:64G
numactl
_service:tar_scm:0005-numactl.c-Remove-unused-v...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0005-numactl.c-Remove-unused-variable.patch of Package numactl
From c09fefddf5474b393f262f92659134355d98c550 Mon Sep 17 00:00:00 2001 From: Honggyu Kim <honggyu.kp@gmail.com> Date: Sat, 24 Dec 2022 03:19:14 +0000 Subject: [PATCH] numactl.c: Remove unused variable This patch is to remove the following unused variable warning. numactl.c: In function 'main': numactl.c:425:14: warning: unused variable 'node' [-Wunused-variable] 425 | long node=-1; | ^~~~ Since node is used nowhere inside the function so remove it. Signed-off-by: Honggyu Kim <honggyu.kp@gmail.com> Signed-off-by: buque <wuxu.wu@huawei.com> --- numactl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/numactl.c b/numactl.c index 79b323b..47cbf39 100755 --- a/numactl.c +++ b/numactl.c @@ -422,7 +422,6 @@ static struct bitmask *numactl_parse_nodestring(char *s, int flag) int main(int ac, char **av) { int c; - long node=-1; char *end; char shortopts[array_len(opts)*2 + 1]; struct bitmask *mask = NULL; -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2