Skip to content

Commit

Permalink
Remove uncessary switch case
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Feb 9, 2022
1 parent 4eeb839 commit df23650
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions statement.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ func (stmt *Statement) AddVar(writer clause.Writer, vars ...interface{}) {
} else {
stmt.AddVar(writer, v.GormValue(stmt.Context, stmt.DB))
}
case clause.Expr:
v.Build(stmt)
case *clause.Expr:
v.Build(stmt)
case clause.Expression:
v.Build(stmt)
case driver.Valuer:
Expand Down

0 comments on commit df23650

Please sign in to comment.