aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common.c1
-rw-r--r--opendircolors.c2
2 files changed, 1 insertions, 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' },