Skip to content

Commit

Permalink
Post review fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
darvark committed Aug 3, 2023
1 parent c3738ac commit 4c45c92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) {
case 'v': // verbose startup
verbose = true;
break;

default:
return ARGP_ERR_UNKNOWN;
}
Expand Down Expand Up @@ -694,6 +695,7 @@ static int databases_load() {
return EXIT_FAILURE;
}


if (multlist == 1) {
showmsg("Reading multiplier data ");
if (strlen(multsfile) == 0) {
Expand Down
1 change: 1 addition & 0 deletions src/parse_logcfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ extern char *error_details;

////////////////////////////////////
// config parsing definitions

enum {
NO_PARAM,
NEED_PARAM,
Expand Down
2 changes: 1 addition & 1 deletion test/test_parse_logcfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ void test_ssbmode(void **state) {
void test_operating_mode(void **state) {
int rc = call_parse_logcfg("OPERATING_MODE=S&P\n");
assert_int_equal(rc, 0);
assert_int_equal(cqmode, CQ);
assert_int_equal(cqmode, S_P);
}

// TLFCOLOR1..6
Expand Down

0 comments on commit 4c45c92

Please sign in to comment.