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

Cleanup some dead code #129

Closed
madolson opened this issue Apr 2, 2024 · 0 comments · Fixed by #130
Closed

Cleanup some dead code #129

madolson opened this issue Apr 2, 2024 · 0 comments · Fixed by #130
Labels
good first issue Good for newcomers polish typos, style, etc

Comments

@madolson
Copy link
Member

madolson commented Apr 2, 2024

In

sds desc = NULL;
, desc is set to NULL, never set to anything, and then checked if it should be freed on the error path if it's NUL. This can be cleaned up, since it's really unused.

@madolson madolson added good first issue Good for newcomers polish typos, style, etc labels Apr 2, 2024
enjoy-binbin pushed a commit that referenced this issue Apr 2, 2024
desc is set to NULL, never set to anything, and then
checked if it should be freed on the error path if it's NULL.
This can be cleaned up, since it's really unused.

Fixes #129

Signed-off-by: 0del <bany.y0599@gmail.com>
PatrickJS pushed a commit to PatrickJS/placeholderkv that referenced this issue Apr 24, 2024
…ey-io#130)

desc is set to NULL, never set to anything, and then
checked if it should be freed on the error path if it's NULL.
This can be cleaned up, since it's really unused.

Fixes valkey-io#129

Signed-off-by: 0del <bany.y0599@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers polish typos, style, etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant