-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Description
warning: [email protected]: src/jsapi.cpp: In function ‘JSObject* glue::NewArrayBufferWithContents(JSContext*, size_t, void*)’:
warning: [email protected]: src/jsapi.cpp:158:11: warning: infinite recursion detected [-Winfinite-recursion]
warning: [email protected]: 158 | JSObject* NewArrayBufferWithContents(JSContext* cx, size_t nbytes,
warning: [email protected]: | ^~~~~~~~~~~~~~~~~~~~~~~~~~
warning: [email protected]: src/jsapi.cpp:161:36: note: recursive call
warning: [email protected]: 161 | return NewArrayBufferWithContents(cx, nbytes, contents);
warning: [email protected]: | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Lines 158 to 161 in 18ab014
| JSObject* NewArrayBufferWithContents(JSContext* cx, size_t nbytes, | |
| void* contents) { | |
| js::UniquePtr<void, JS::FreePolicy> dataPtr{contents}; | |
| return NewArrayBufferWithContents(cx, nbytes, contents); |
Metadata
Metadata
Assignees
Labels
No labels