mirror of
				https://github.com/YosysHQ/yosys
				synced 2025-11-03 21:09:12 +00:00 
			
		
		
		
	Keep gcc from complaining about uninitialized variables
This commit is contained in:
		
							parent
							
								
									0350074819
								
							
						
					
					
						commit
						022f570563
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2102,9 +2102,9 @@ AstNode *AstNode::readmem(bool is_readmemh, std::string mem_filename, AstNode *m
 | 
			
		|||
	AstNode *block = new AstNode(AST_BLOCK);
 | 
			
		||||
 | 
			
		||||
	AstNode *meminit = nullptr;
 | 
			
		||||
	int next_meminit_cursor;
 | 
			
		||||
	int next_meminit_cursor=0;
 | 
			
		||||
	vector<State> meminit_bits;
 | 
			
		||||
	int meminit_size;
 | 
			
		||||
	int meminit_size=0;
 | 
			
		||||
 | 
			
		||||
	std::ifstream f;
 | 
			
		||||
	f.open(mem_filename.c_str());
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue