Skip to content

src: avoid unnecessarily formatting a warning - #21832

Closed
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:src-dont-format-string-twice
Closed

src: avoid unnecessarily formatting a warning#21832
tniessen wants to merge 1 commit into
nodejs:masterfrom
tniessen:src-dont-format-string-twice

Conversation

@tniessen

Copy link
Copy Markdown
Member

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

ProcessEmitWarning will already format the message, there is no
need to call snprintf here.
@tniessen
tniessen requested a review from jasnellJuly 16, 2018 13:44
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. fs Issues and PRs related to the fs subsystem / file system. labels Jul 16, 2018
@tniessen

Copy link
Copy Markdown
MemberAuthor

@tniessentniessen added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jul 17, 2018
tniessen added a commit that referenced this pull request Jul 18, 2018
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

Copy link
Copy Markdown
MemberAuthor

Landed in 7b6e2fc.

targos pushed a commit that referenced this pull request Jul 19, 2018
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>
@targostargos mentioned this pull request Jul 31, 2018
@tniessentniessen removed the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Sep 12, 2018
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++Issues and PRs that require attention from people who are familiar with C++.fsIssues and PRs related to the fs subsystem / file system.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@tniessen@nodejs-github-bot@apapirovski@jasnell@addaleax@lpinca@TimothyGu@cjihrig@devsnek