From cd27300d75662e89f0699994e0af123f9b1732e3 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 25 Apr 2020 23:02:04 +0300 Subject: [PATCH] cookie: fix a new match error about redundant `else` --- vlib/net/http/cookie.v | 3 --- 1 file changed, 3 deletions(-) diff --git a/vlib/net/http/cookie.v b/vlib/net/http/cookie.v index 58ec2067ca..5070bc7a9c 100644 --- a/vlib/net/http/cookie.v +++ b/vlib/net/http/cookie.v @@ -266,9 +266,6 @@ pub fn (c &Cookie) str() string { .same_site_strict_mode { b.write('; SameSite=Strict') } - else { - // Do nothing - } } return b.str() }