Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6bafe8a

Browse filesBrowse files
codebyteremarco-ippolito
authored andcommitted
src: fix -Wshadow warning
PR-URL: #53885 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent ae30674 commit 6bafe8a
Copy full SHA for 6bafe8a

1 file changed

+2-2Lines changed: 2 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/util.h‎

Copy file name to clipboardExpand all lines: src/util.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ void DumpJavaScriptBacktrace(FILE* fp);
146146
do { \
147147
/* Make sure that this struct does not end up in inline code, but */ \
148148
/* rather in a read-only data section when modifying this code. */ \
149-
static const node::AssertionInfo args = { \
149+
static const node::AssertionInfo error_and_abort_args = { \
150150
__FILE__ ":" STRINGIFY(__LINE__), #expr, PRETTY_FUNCTION_NAME}; \
151-
node::Assert(args); \
151+
node::Assert(error_and_abort_args); \
152152
/* `node::Assert` doesn't return. Add an [[noreturn]] abort() here to */ \
153153
/* make the compiler happy about no return value in the caller */ \
154154
/* function when calling ERROR_AND_ABORT. */ \

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.