From 42c5a8198634bad143cb8ef95985295d3116da5d Mon Sep 17 00:00:00 2001 From: Wagner Riffel Date: Mon, 18 May 2020 11:55:45 -0300 Subject: plugins/caldav: remove statements not used Signed-off-by: Wagner Riffel --- plugins/caldav/routes.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/plugins/caldav/routes.go b/plugins/caldav/routes.go index 3e4fa71..020882e 100644 --- a/plugins/caldav/routes.go +++ b/plugins/caldav/routes.go @@ -111,11 +111,6 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) { return err } - c, err := newClient(u, ctx.Session) - if err != nil { - return err - } - c, calendar, err := getCalendar(u, ctx.Session) if err != nil { return err @@ -161,11 +156,6 @@ func registerRoutes(p *alps.GoPlugin, u *url.URL) { return err } - c, err := newClient(u, ctx.Session) - if err != nil { - return err - } - c, calendar, err := getCalendar(u, ctx.Session) if err != nil { return err -- cgit v1.2.3