Welcome! Log In Create A New Profile

Advanced

[PATCH] CLEANUP: Remove comment that's no longer valid

Posted by Nenad Merdanovic 
Nenad Merdanovic
[PATCH] CLEANUP: Remove comment that's no longer valid
March 12, 2017 10:10PM
Code was deleted in ad63582eb, but the comment remained.

Signed-off-by: Nenad Merdanovic <[email protected]>
---
src/sample.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/src/sample.c b/src/sample.c
index 014913d..71d4e32 100644
--- 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:
--
2.9.3
Willy Tarreau
Re: [PATCH] CLEANUP: Remove comment that's no longer valid
March 13, 2017 06:40PM
On Sun, Mar 12, 2017 at 10:00:29PM +0100, Nenad Merdanovic wrote:
> Code was deleted in ad63582eb, but the comment remained.
>
> Signed-off-by: Nenad Merdanovic <[email protected]>

Applied, thanks Nenad
Willy
Sorry, only registered users may post in this forum.

Click here to login