From 253429e84ebe40dc6a959dc0c60b2f89ec49b55d Mon Sep 17 00:00:00 2001 From: Cameron Katri Date: Sat, 22 Jan 2022 21:15:10 -0500 Subject: Fix some errors --- common.c | 1 - opendircolors.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/common.c b/common.c index 56e59d3..fb96d36 100644 --- a/common.c +++ b/common.c @@ -39,7 +39,6 @@ parseansi(char *ansi, struct color *color) { long long num; char *token; - const char *errstr; bool bold = false, underline = false; color->fg = 'x'; diff --git a/opendircolors.c b/opendircolors.c index 634726f..97cc5ca 100644 --- a/opendircolors.c +++ b/opendircolors.c @@ -44,7 +44,7 @@ static void usage(const char *); // clang-format off static const struct option long_options[] = { { "help", no_argument, NULL, 'h' }, - { "bourne-shell", no_argument, NULL }, + { "bourne-shell", no_argument, NULL, 0 }, { "sh", no_argument, NULL, 'b' }, { "csh", no_argument, NULL, 'c' }, { "c-shell", no_argument, NULL, 'c' }, -- cgit v1.2.3-56-ge451