★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/21832Nouvelle recherche | Portail wanayoo
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

src: avoid unnecessarily formatting a warning #21832

Closed

Conversation

Projects
None yet
9 participants
@tniessen
Copy link
Member

tniessen commented Jul 16, 2018

ProcessEmitWarning should already format the message, I think there is no need to call snprintf here.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
src: avoid unnecessarily formatting a warning
ProcessEmitWarning will already format the message, there is no
need to call snprintf here.

@tniessen tniessen requested a review from jasnell Jul 16, 2018

@tniessen

This comment has been minimized.

Copy link
Member Author

tniessen commented Jul 17, 2018

@lpinca

lpinca approved these changes Jul 17, 2018

tniessen added a commit that referenced this pull request Jul 18, 2018

src: avoid unnecessarily formatting a warning
ProcessEmitWarning will already format the message, there is no
need to call snprintf here.

PR-URL: #21832
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@tniessen

This comment has been minimized.

Copy link
Member Author

tniessen commented Jul 18, 2018

Landed in 7b6e2fc.

@tniessen tniessen closed this Jul 18, 2018

targos added a commit that referenced this pull request Jul 19, 2018

src: avoid unnecessarily formatting a warning
ProcessEmitWarning will already format the message, there is no
need to call snprintf here.

PR-URL: #21832
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

@targos targos referenced this pull request Jul 31, 2018

Merged

v10.8.0 proposal #22040

@tniessen tniessen removed the author ready label Sep 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.