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

Remove unused var desc in luaRegisterFunctionReadPositionalArgs #130

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

9bany
Copy link
Contributor

@9bany 9bany commented 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>
@enjoy-binbin enjoy-binbin changed the title cleanup-dead-code Remove unused var desc in luaRegisterFunctionReadPositionalArgs Apr 2, 2024
@enjoy-binbin enjoy-binbin merged commit 4d7fff9 into valkey-io:unstable Apr 2, 2024
14 checks passed
@enjoy-binbin enjoy-binbin added the polish typos, style, etc label Apr 2, 2024
PatrickJS pushed a commit to PatrickJS/placeholderkv that referenced this pull request 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
polish typos, style, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup some dead code
3 participants