From 1d52793faf91b93e52b27c56e7be3fd9ca373d54 Mon Sep 17 00:00:00 2001 From: Don Bowman Date: Sat, 15 Aug 2015 09:21:34 +0000 Subject: [PATCH] remove empty line as per https://github.com/gogits/gogs/pull/1475 --- models/publickey.go | 1 - 1 file changed, 1 deletion(-) diff --git a/models/publickey.go b/models/publickey.go index 3ef84b9c7..400486eba 100644 --- a/models/publickey.go +++ b/models/publickey.go @@ -386,7 +386,6 @@ func ListPublicKeys(uid int64) ([]*PublicKey, error) { // rewriteAuthorizedKeys finds and deletes corresponding line in authorized_keys file. func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error { - fr, err := os.Open(p) if err != nil { return err