projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5424ee0
)
CLEANUP: ssl: Remove goto after return dead code
author
Bertrand Jacquin
<bertrand@jacquin.bzh>
Sun, 13 Nov 2016 16:37:10 +0000
(16:37 +0000)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 14 Nov 2016 17:15:20 +0000
(18:15 +0100)
This code can never be reached.
src/payload.c
patch
|
blob
|
history
diff --git
a/src/payload.c
b/src/payload.c
index
3a534c3
..
a02a869
100644
(file)
--- a/
src/payload.c
+++ b/
src/payload.c
@@
-181,9
+181,6
@@
smp_fetch_req_ssl_st_ext(const struct arg *args, struct sample *smp, const char
smp->flags = SMP_F_VOLATILE;
return 1;
- /* server name not found */
- goto not_ssl_hello;
-
too_short:
smp->flags = SMP_F_MAY_CHANGE;