Skip to content

Commit 9b81135

Browse files
authored
Update cxxabi-compat.cpp
remove compiler warning about unused parameters
1 parent 2363e7b commit 9b81135

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

STM32F1/cores/maple/cxxabi-compat.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ extern "C" char * __cxa_demangle (const char *mangled_name,
1414
char *output_buffer,
1515
size_t *length,
1616
int *status) {
17+
(void)length; (void)status;
1718
strcpy((char*)mangled_name, output_buffer);
1819
return output_buffer;
1920
}

0 commit comments

Comments
 (0)