Commit 77e10c5a authored by gwenn's avatar gwenn

Go 1.1 unreachable code

parent 89fe1b53
...@@ -439,7 +439,6 @@ func (c *Conn) BeginTransaction(t TransactionType) error { ...@@ -439,7 +439,6 @@ func (c *Conn) BeginTransaction(t TransactionType) error {
return c.exec("BEGIN EXCLUSIVE") return c.exec("BEGIN EXCLUSIVE")
} }
panic(fmt.Sprintf("Unsupported transaction type: '%#v'", t)) panic(fmt.Sprintf("Unsupported transaction type: '%#v'", t))
return nil
} }
// Commit commits transaction // Commit commits transaction
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment