Skip to content

Commit 2d77bd2

Browse files
codebytereRafaelGSS
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 048d421 commit 2d77bd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,9 @@ void DumpJavaScriptBacktrace(FILE* fp);
144144
do { \
145145
/* Make sure that this struct does not end up in inline code, but */ \
146146
/* rather in a read-only data section when modifying this code. */ \
147-
static const node::AssertionInfo args = { \
147+
static const node::AssertionInfo error_and_abort_args = { \
148148
__FILE__ ":" STRINGIFY(__LINE__), #expr, PRETTY_FUNCTION_NAME}; \
149-
node::Assert(args); \
149+
node::Assert(error_and_abort_args); \
150150
/* `node::Assert` doesn't return. Add an [[noreturn]] abort() here to */ \
151151
/* make the compiler happy about no return value in the caller */ \
152152
/* function when calling ERROR_AND_ABORT. */ \

0 commit comments

Comments
 (0)