Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6f8bcdb

Browse filesBrowse files
committed
codecov: jwt-common => gen
Signed-off-by: Ben Collins <bcollins@libjwt.io>
1 parent 519abb6 commit 6f8bcdb
Copy full SHA for 6f8bcdb

File tree

2 files changed

+6
-2
lines changed
Filter options

2 files changed

+6
-2
lines changed

‎libjwt/jwt-builder.c

Copy file name to clipboardExpand all lines: libjwt/jwt-builder.c
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,10 @@ static jwt_value_error_t __run_it(jwt_builder_t *__cmd, _setget_type_t type,
183183
case __CLAIM:
184184
which = __cmd->c.payload;
185185
break;
186+
// LCOV_EXCL_START
186187
default:
187-
return value->error = JWT_VALUE_ERR_INVALID; // LCOV_EXCL_LINE
188+
return value->error = JWT_VALUE_ERR_INVALID;
189+
// LCOV_EXCL_STOP
188190
}
189191

190192
return doer(which, value);

‎libjwt/jwt-checker.c

Copy file name to clipboardExpand all lines: libjwt/jwt-checker.c
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,10 @@ static jwt_value_error_t __run_it(jwt_checker_t *__cmd, _setget_type_t type,
155155
case __CLAIM:
156156
which = __cmd->c.payload;
157157
break;
158+
// LCOV_EXCL_START
158159
default:
159-
return value->error = JWT_VALUE_ERR_INVALID; // LCOV_EXCL_LINE
160+
return value->error = JWT_VALUE_ERR_INVALID;
161+
// LCOV_EXCL_STOP
160162
}
161163

162164
return doer(which, value);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.