forked from epagris/FreeRTOS-Kernel
		
	Fix Coverity warnings: In most cases the return value of xTaskResumeAll() is cast to void when it is not needed. This PR fixes a couple of instances in the heap_n.c implementations where that was not the case.
This commit is contained in:
		
							parent
							
								
									5d28744feb
								
							
						
					
					
						commit
						459dceb29c
					
				@ -474,7 +474,7 @@ size_t xBlocks = 0, xMaxSize = 0, xMinSize = portMAX_DELAY; /* portMAX_DELAY use
 | 
			
		||||
			} while( pxBlock != pxEnd );
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	xTaskResumeAll();
 | 
			
		||||
	( void ) xTaskResumeAll();
 | 
			
		||||
 | 
			
		||||
	pxHeapStats->xSizeOfLargestFreeBlockInBytes = xMaxSize;
 | 
			
		||||
	pxHeapStats->xSizeOfSmallestFreeBlockInBytes = xMinSize;
 | 
			
		||||
 | 
			
		||||
@ -529,7 +529,7 @@ size_t xBlocks = 0, xMaxSize = 0, xMinSize = portMAX_DELAY; /* portMAX_DELAY use
 | 
			
		||||
			} while( pxBlock != pxEnd );
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	xTaskResumeAll();
 | 
			
		||||
	( void ) xTaskResumeAll();
 | 
			
		||||
 | 
			
		||||
	pxHeapStats->xSizeOfLargestFreeBlockInBytes = xMaxSize;
 | 
			
		||||
	pxHeapStats->xSizeOfSmallestFreeBlockInBytes = xMinSize;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user