mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-22 01:47:51 -04: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
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Reference in a new issue