From 6301d5c1dafe7776796d6fc93d33772d17f28bb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 9 Jan 2021 14:31:07 +0100 Subject: Convert unnecessary static variables They are not used in any other function and are not used maybe uninitialized. --- htop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'htop.c') diff --git a/htop.c b/htop.c index 1ff73c53..00ff1dab 100644 --- a/htop.c +++ b/htop.c @@ -93,7 +93,7 @@ static CommandLineSettings parseArguments(int argc, char** argv) { .highlightDelaySecs = -1, }; - static struct option long_opts[] = + const struct option long_opts[] = { {"help", no_argument, 0, 'h'}, {"version", no_argument, 0, 'V'}, -- cgit v1.2.3