mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-10-31 19:52:31 +00:00 
			
		
		
		
	Remove a statement without effect.
The return value of the min(...) call is never used. Looks like some leftover from some previous implementation. Signed-off-by: Henner Zeller <h.zeller@acm.org>
This commit is contained in:
		
							parent
							
								
									a9c792dcee
								
							
						
					
					
						commit
						a3a8f7be38
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		|  | @ -190,8 +190,6 @@ RTLIL::Const ReadWitness::get_bits(int t, int bits_offset, int width) const | |||
| 	int read_begin = GetSize(bits) - 1 - bits_offset; | ||||
| 	int read_end = max(-1, read_begin - width); | ||||
| 
 | ||||
| 	min(width, GetSize(bits) - bits_offset); | ||||
| 
 | ||||
| 	for (int i = read_begin, j = 0; i > read_end; i--, j++) { | ||||
| 		RTLIL::State bit = State::Sa; | ||||
| 		switch (bits[i]) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue