Skip to content

Commit 6bafe8a

Browse files
codebyteremarco-ippolito
authored andcommitted
src: fix -Wshadow warning
PR-URL: #53885 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent ae30674 commit 6bafe8a

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
@@ -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)