Skip to content

Commit 92faf42

Browse files
committed
remove no longer used variable json_t *json
Signed-off-by: Hans Zandbelt <[email protected]>
1 parent 2d0e547 commit 92faf42

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/handle/userinfo.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,6 @@ static apr_byte_t oidc_userinfo_create_signed_jwt(request_rec *r, oidc_cfg_t *cf
267267
oidc_jose_error_t err;
268268
apr_time_t access_token_expires = -1;
269269
char *key = NULL;
270-
json_t *json = NULL;
271270
int ttl = 0;
272271
int exp = 0;
273272
apr_time_t expiry = 0;
@@ -338,9 +337,6 @@ static apr_byte_t oidc_userinfo_create_signed_jwt(request_rec *r, oidc_cfg_t *cf
338337

339338
end:
340339

341-
if (json)
342-
json_decref(json);
343-
344340
if (jwt)
345341
oidc_jwt_destroy(jwt);
346342

0 commit comments

Comments
 (0)