Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Critical bugrisk : Value assigned to a variable is never read before being overwritten #780

Open
philipjonsen opened this issue Sep 22, 2023 · 0 comments

Comments

@philipjonsen
Copy link

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 or dead code.

this value of calleeAddr is never used
shentu/blob/master/x/cvm/keeper/keeper.go#L116-L116

this value of value is never used
shentu/blob/master/vm/vm_test.go#L126-L126

value of err is never used
shentu/blob/master/x/cvm/keeper/keeper.go#L83-L83
/shentu/blob/master/app/export.go#L75-L75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant