mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 21:16:09 +02:00
CLEANUP: http-fetch: Remove duplcated return statement in smp_fetch_stver()
the return statement was needlessly repeated. Let's remove the second one.
This commit is contained in:
parent
3fa0aa3664
commit
e7482c4d0e
@ -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. */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user