diff options
author | Chris Wendt <chrismwendt@gmail.com> | 2022-06-08 03:16:29 -0600 |
---|---|---|
committer | Chris Wendt <chrismwendt@gmail.com> | 2022-06-08 03:16:29 -0600 |
commit | c20652df23ad18a0ae30b27a055a71aabd2f581d (patch) | |
tree | 35efdfb8987fc99c8ebbb5d2ce76bc1d0c04ba1a /tx.go | |
parent | use time.Since (diff) | |
download | stm-c20652df23ad18a0ae30b27a055a71aabd2f581d.tar.gz stm-c20652df23ad18a0ae30b27a055a71aabd2f581d.tar.xz |
remove unreachable code
Diffstat (limited to 'tx.go')
-rw-r--r-- | tx.go | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -118,7 +118,6 @@ func (tx *Tx) Retry() struct{} { retries.Add(txProfileValue{tx, tx.numRetryValues}, 1) tx.numRetryValues++ panic(retry) - panic("unreachable") } // Assert is a helper function that retries a transaction if the condition is |