From e7482c4d0e99c950d15e4aababb9c7d6e585f698 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Mon, 4 May 2026 17:41:36 +0200 Subject: [PATCH] CLEANUP: http-fetch: Remove duplcated return statement in smp_fetch_stver() the return statement was needlessly repeated. Let's remove the second one. --- src/http_fetch.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/http_fetch.c b/src/http_fetch.c index 16f2e5c93..830f65fd3 100644 --- a/src/http_fetch.c +++ b/src/http_fetch.c @@ -447,8 +447,6 @@ static int smp_fetch_stver(const struct arg *args, struct sample *smp, const cha smp->data.type = SMP_T_STR; smp->data.u.str = *vsn; return 1; - - return 1; } /* 3. Check on Status Code. We manipulate integers here. */