Skip to content

Commit 0c06313

Browse files
Copilotshueybubbles
andcommitted
Fix unreachable driver.Valuer case in makeParam switch statement
Co-authored-by: shueybubbles <[email protected]>
1 parent 9822e16 commit 0c06313

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mssql.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,8 +1028,6 @@ func (s *Stmt) makeParam(val driver.Value) (res param, err error) {
10281028
return s.makeParamExtra(*valuer)
10291029
case UniqueIdentifier:
10301030
case NullUniqueIdentifier:
1031-
default:
1032-
break
10331031
case driver.Valuer:
10341032
// If the value has a non-nil value, call MakeParam on its Value
10351033
val, e := driver.DefaultParameterConverter.ConvertValue(valuer)

0 commit comments

Comments
 (0)