Skip to content

Commit

Permalink
codecov: jwt-common => gen
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Collins <[email protected]>
  • Loading branch information
benmcollins committed Feb 13, 2025
1 parent 519abb6 commit 6f8bcdb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion libjwt/jwt-builder.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,10 @@ static jwt_value_error_t __run_it(jwt_builder_t *__cmd, _setget_type_t type,
case __CLAIM:
which = __cmd->c.payload;
break;
// LCOV_EXCL_START
default:
return value->error = JWT_VALUE_ERR_INVALID; // LCOV_EXCL_LINE
return value->error = JWT_VALUE_ERR_INVALID;
// LCOV_EXCL_STOP
}

return doer(which, value);
Expand Down
4 changes: 3 additions & 1 deletion libjwt/jwt-checker.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,10 @@ static jwt_value_error_t __run_it(jwt_checker_t *__cmd, _setget_type_t type,
case __CLAIM:
which = __cmd->c.payload;
break;
// LCOV_EXCL_START
default:
return value->error = JWT_VALUE_ERR_INVALID; // LCOV_EXCL_LINE
return value->error = JWT_VALUE_ERR_INVALID;
// LCOV_EXCL_STOP
}

return doer(which, value);
Expand Down

0 comments on commit 6f8bcdb

Please sign in to comment.