projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
807a6e7
)
CLEANUP: Remove comment that's no longer valid
author
Nenad Merdanovic
<nmerdan@haproxy.com>
Sun, 12 Mar 2017 21:00:29 +0000
(22:00 +0100)
committer
Willy Tarreau
<w@1wt.eu>
Mon, 13 Mar 2017 17:26:05 +0000
(18:26 +0100)
Code was deleted in
ad63582eb
, but the comment remained.
Signed-off-by: Nenad Merdanovic <nmerdan@haproxy.com>
src/sample.c
patch
|
blob
|
history
diff --git
a/src/sample.c
b/src/sample.c
index
014913d
..
71d4e32
100644
(file)
--- a/
src/sample.c
+++ b/
src/sample.c
@@
-649,10
+649,6
@@
int smp_dup(struct sample *smp)
{
struct chunk *trash;
- /* If the const flag is not set, we don't need to duplicate the
- * pattern as it can be modified in place.
- */
-
switch (smp->data.type) {
case SMP_T_BOOL:
case SMP_T_SINT: