Skip to content

Commit dee84a1

Browse files
authored
fix: warnings for uninitialized variables (#16)
Closes #15 Signed-off-by: Jonathan Gonzalez V. <[email protected]>
1 parent 388f99c commit dee84a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/kc_validator.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -338,10 +338,10 @@ kc_decision(CURL *curl, const char *permission, const char *user_token)
338338
char errbuf[CURL_ERROR_SIZE] = {0};
339339
long http_code;
340340
double total_time;
341-
char *aud;
342-
char *perm_enc;
343-
char *cid;
344-
char *post;
341+
char *aud = NULL;
342+
char *perm_enc = NULL;
343+
char *cid = NULL;
344+
char *post = NULL;
345345
long connect_tmo;
346346

347347
/* Initialize response buffer (must be pfree'd) */

0 commit comments

Comments
 (0)