]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Get rid of gratuitous assignment of NULL to uri_vb (#4993)
authorJames Jones <jejones3141@gmail.com>
Mon, 15 May 2023 15:46:08 +0000 (10:46 -0500)
committerGitHub <noreply@github.com>
Mon, 15 May 2023 15:46:08 +0000 (11:46 -0400)
The next use is an assignment, so there's no point.

src/modules/rlm_rest/rlm_rest.c

index 38a6dde6e9553ee00cf3ec322dd97cd1848b5f8f..35918e42c013b56a7f5d5f69764b35f2672e0113 100644 (file)
@@ -453,7 +453,6 @@ static xlat_action_t rest_xlat(UNUSED TALLOC_CTX *ctx, UNUSED fr_dcursor_t *out,
                 *      Move to next argument
                 */
                in_vb = fr_value_box_list_pop_head(in);
-               uri_vb = NULL;
        } else {
                section->method = REST_HTTP_METHOD_GET;
        }