cmd, contracts, eth, p2p, signer, whisper: fixed ineffectual assignments (#19869)

Fixed assigning values to variables we don't end up using.
This commit is contained in:
Christian Muehlhaeuser
2019-07-22 12:34:41 +02:00
committed by Péter Szilágyi
parent 04e175b8ec
commit a32a2b933a
8 changed files with 12 additions and 12 deletions

View File

@ -484,7 +484,7 @@ func (typedData *TypedData) EncodeData(primaryType string, data map[string]inter
func parseInteger(encType string, encValue interface{}) (*big.Int, error) {
var (
length = 0
length int
signed = strings.HasPrefix(encType, "int")
b *big.Int
)