Skip to content

Commit

Permalink
Ensure that variable is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Apr 29, 2014
1 parent 346c98c commit 794ab82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/rlm_rest/rest.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ static size_t rest_encode_json(void *out, size_t size, size_t nmemb, void *userd
static ssize_t rest_request_encode_wrapper(char **buffer, rest_read_t func, size_t limit, void *userdata)
{
char *previous = NULL;
char *current;
char *current = NULL;

size_t alloc = REST_BODY_INIT; /* Size of buffer to alloc */
size_t used = 0; /* Size of data written */
Expand Down

0 comments on commit 794ab82

Please sign in to comment.