Skip to content

Commit

Permalink
Initialise box in rest.c
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Sep 4, 2023
1 parent e06fb89 commit bdbaffa
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 @@ -859,7 +859,7 @@ static fr_pair_t *json_pair_alloc_leaf(UNUSED rlm_rest_t const *instance, UNUSED

fr_pair_t *vp;

fr_value_box_t src;
fr_value_box_t src = FR_VALUE_BOX_INITIALISER_NULL(src);

if (json_object_is_type(leaf, json_type_null)) {
RDEBUG3("Got null value for attribute \"%s\" (skipping)", da->name);
Expand Down

0 comments on commit bdbaffa

Please sign in to comment.