summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Steinert <[email protected]>2015-12-04 09:46:42 -0600
committerMichael Steinert <[email protected]>2015-12-04 09:46:42 -0600
commit1d0c8bc60c18ec6096c2b04360857f5ace626cba (patch)
treeb77ab9bf8dab8e441eebfa171a540f893af73e9b
parent7f5fc62ba4a6fc7ea64b3da094269d05d89f60b9 (diff)
Fix lint
-rw-r--r--transaction.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/transaction.go b/transaction.go
index 54e285c..e4eface 100644
--- a/transaction.go
+++ b/transaction.go
@@ -54,7 +54,7 @@ func (f ConversationFunc) RespondPAM(s Style, msg string) (string, error) {
//export cbPAMConv
func cbPAMConv(s C.int, msg *C.char, c int) (*C.char, C.int) {
var r string
- var err error = nil
+ var err error
v := cbGet(c)
switch cb := v.(type) {
case ConversationHandler: