From bc0fc1991ea7c608eab4d966042f212142341b4d Mon Sep 17 00:00:00 2001
From: Pierre Carrier <pierre@gcarrier.fr>
Date: Wed, 26 Feb 2014 20:12:10 -0800
Subject: [PATCH] fix for travis complaint

---
 gauth.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gauth.go b/gauth.go
index eb5bad7..2c64d57 100644
--- a/gauth.go
+++ b/gauth.go
@@ -30,9 +30,8 @@ func normalizeSecret(sec string) string {
 	padLength := 8 - (len(noPadding) % 8)
 	if padLength < 8 {
 		return noPadding + strings.Repeat("=", padLength)
-	} else {
-		return noPadding
 	}
+	return noPadding
 }
 
 func AuthCode(sec string, ts int64) (string, error) {