FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

zlib: Remove useless parameters · Pull Request #22115 · nodejs/node · GitHub

/ node Public

zlib: Remove useless parameters - #22115

Closed
ghost wants to merge 1 commit into
masterfrom
unknown repository
Closed

zlib: Remove useless parameters#22115
ghost wants to merge 1 commit into
masterfrom
unknown repository

Conversation

ghost commented Aug 4, 2018

Copy link
Copy Markdown

When checkRangesOrGetDefault calls checkFiniteNumber, the latter
function only has two parameters, so lower and upper don't need to
be passed for validation.

  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows [commit guidelines

When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
function only has two parameters, so `lower` and `upper` don't need to
be passed for validation.
nodejs-github-bot added the zlib Issues and PRs related to the zlib subsystem. label Aug 4, 2018

Trott commented Aug 4, 2018

Copy link
Copy Markdown
Member

ghost commented Aug 4, 2018

Copy link
Copy Markdown
Author

@Trott:Another of my submit has also met with the same problem, that CI's test commit failed: #21906.

Trott commented Aug 6, 2018

Copy link
Copy Markdown
Member

maclover7 added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Aug 7, 2018

trivikr commented Aug 7, 2018

Copy link
Copy Markdown
Member

Trott pushed a commit to Trott/io.js that referenced this pull request Aug 7, 2018
When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
function only has two parameters, so `lower` and `upper` don't need to
be passed for validation.

PR-URL: nodejs#22115
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>

Trott commented Aug 7, 2018

Copy link
Copy Markdown
Member

Landed in 493e6d4

Trott closed this Aug 7, 2018
ghost deleted the zlibUselessParams branch August 8, 2018 00:43

ghost commented Aug 8, 2018

Copy link
Copy Markdown
Author

Thanks!

targos pushed a commit that referenced this pull request Aug 11, 2018
When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
function only has two parameters, so `lower` and `upper` don't need to
be passed for validation.

PR-URL: #22115
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
firass111 pushed a commit to firass111/Project_node1 that referenced this pull request Apr 16, 2025
When `checkRangesOrGetDefault` calls `checkFiniteNumber`, the latter
function only has two parameters, so `lower` and `upper` don't need to
be passed for validation.

PR-URL: nodejs/node#22115
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no outstanding review comments, and a CI started. zlib Issues and PRs related to the zlib subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants


Back | FazBrowse Home | New Git URL