]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CLEANUP: Remove comment that's no longer valid
authorNenad Merdanovic <nmerdan@haproxy.com>
Sun, 12 Mar 2017 21:00:29 +0000 (22:00 +0100)
committerWilly 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

index 014913d74d2918174dff16a4d22e696969e5ca95..71d4e32a655a6c40cbd02640021aa6cac665533c 100644 (file)
@@ -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: