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 condition #1376

Closed
wants to merge 1 commit into from

Conversation

charsyam
Copy link
Contributor

There is no need to check "filter" first time.
because filter is always 0.

so !filter is always 1 in first if statement.

mattsta pushed a commit to mattsta/redis that referenced this pull request Aug 2, 2014
mattsta pushed a commit to mattsta/redis that referenced this pull request Aug 2, 2014
@mattsta mattsta mentioned this pull request Aug 2, 2014
mattsta pushed a commit to mattsta/redis that referenced this pull request Aug 6, 2014
@mattsta
Copy link
Contributor

mattsta commented Aug 25, 2014

Denied because "the useless check is wanted as a gentle reminder that we need to check this stuff if we add a new option like TYPE. Basically this way all the stanzas are the same instead of making the first one an exception."

@mattsta mattsta closed this Aug 25, 2014
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

Successfully merging this pull request may close these issues.

None yet

2 participants