From c09fefddf5474b393f262f92659134355d98c550 Mon Sep 17 00:00:00 2001 From: Honggyu Kim 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 Signed-off-by: buque --- 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