jasonBirchall / crypto

NO LONGER UPDATED: Cryptocurrency tool for the command line
Apache License 2.0
6 stars 1 forks source link

(SCC-SA4006) A value assigned to a variable is never read before being overwritten #33

Closed jasonBirchall closed 3 years ago

jasonBirchall commented 3 years ago

Description

Value has been assigned to a variable but it is being overwritten before being read. In most cases, this could be a forgotten error check. Example: go a := "foo" a = "bar"

Occurrences

There is 1 occurrence of this issue in the repository.

See all occurrences on DeepSource → deepsource.io/gh/jasonBirchall/crypto/issue/SCC-SA4006/occurrences/

jasonBirchall commented 3 years ago

Solved by https://github.com/jasonBirchall/crypto/commit/c82efbdbe64f3420396483bab2fac77af29819f7