remove extra check for 0 initial size for sets
This commit is contained in:
		
							parent
							
								
									8ea6b75b42
								
							
						
					
					
						commit
						68facdb935
					
				
					 1 changed files with 0 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -84,12 +84,6 @@ rcl_wait_set_init(
 | 
			
		|||
    RCL_SET_ERROR_MSG("wait_set already initialized, or memory was uninitialized.");
 | 
			
		||||
    return RCL_RET_ALREADY_INIT;
 | 
			
		||||
  }
 | 
			
		||||
  RCL_CHECK_FOR_NULL_WITH_MSG(
 | 
			
		||||
    number_of_subscriptions,
 | 
			
		||||
    "number_of_subscriptions cannot be 0", return RCL_RET_INVALID_ARGUMENT);
 | 
			
		||||
  RCL_CHECK_FOR_NULL_WITH_MSG(
 | 
			
		||||
    number_of_guard_conditions,
 | 
			
		||||
    "number_of_guard_conditions cannot be 0", return RCL_RET_INVALID_ARGUMENT);
 | 
			
		||||
  RCL_CHECK_FOR_NULL_WITH_MSG(
 | 
			
		||||
    allocator.allocate, "allocate not set", return RCL_RET_INVALID_ARGUMENT);
 | 
			
		||||
  RCL_CHECK_FOR_NULL_WITH_MSG(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue