File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -209,6 +209,7 @@ char * _sbrk(int incr) { return sbrk(incr); };
209209 static UBaseType_t malLock_uxSavedInterruptStatus ;
210210#endif
211211void __malloc_lock (struct _reent * r ) {
212+ (void )(r );
212213 #if defined(MALLOCS_INSIDE_ISRs )
213214 DRN_ENTER_CRITICAL_SECTION (malLock_uxSavedInterruptStatus );
214215 #else
@@ -218,6 +219,7 @@ void __malloc_lock(struct _reent *r) {
218219 #endif
219220};
220221void __malloc_unlock (struct _reent * r ) {
222+ (void )(r );
221223 #if defined(MALLOCS_INSIDE_ISRs )
222224 DRN_EXIT_CRITICAL_SECTION (malLock_uxSavedInterruptStatus );
223225 #else
@@ -250,6 +252,7 @@ void __env_unlock() { (void)xTaskResumeAll(); };
250252 return p ;
251253 };
252254 void * __wrap__malloc_r (void * reent , size_t nbytes ) {
255+ (void )(reent );
253256 extern void * __real__malloc_r (size_t nbytes );
254257 if (!inside_malloc ) {
255258 MallocCallCnt ++ ;
You can’t perform that action at this time.
0 commit comments