Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Hughes committed May 18, 2017
1 parent de2188d commit 003e700
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions internal/mapstructure/decode_hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ func DecodeHookExec(
from reflect.Type, to reflect.Type,
data interface{}) (interface{}, error) {
// Build our arguments that reflect expects
argVals := make([]reflect.Value, 3)
argVals[0] = reflect.ValueOf(from)
argVals[1] = reflect.ValueOf(to)
argVals[2] = reflect.ValueOf(data)

switch f := typedDecodeHook(raw).(type) {
case DecodeHookFuncType:
Expand Down

0 comments on commit 003e700

Please sign in to comment.