Skip to content

Commit

Permalink
Boolify opt.show_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
thoni56 committed Apr 30, 2020
1 parent 941060a commit 0bec71f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ static int processEOption(int *ii, int argc, char **argv) {

if (0) {}
else if (strcmp(argv[i],"-errors")==0) {
s_opt.show_errors = 1;
s_opt.show_errors = true;
} else if (strcmp(argv[i],"-exit")==0) {
log_debug("Exiting");
exit(XREF_EXIT_BASE);
Expand Down
2 changes: 1 addition & 1 deletion src/proto.h
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ typedef struct options {

/* CXREF options */

int show_errors;
bool show_errors;
bool brief_cxref;
int update;
int keep_old;
Expand Down

0 comments on commit 0bec71f

Please sign in to comment.