Avoid spurious warning about uninit var
This commit is contained in:
		
							parent
							
								
									3ee5f2f1d3
								
							
						
					
					
						commit
						01f2de512a
					
				@ -639,7 +639,7 @@ public:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    int addBlockName(const TString& name, const TType& type, int size)
 | 
					    int addBlockName(const TString& name, const TType& type, int size)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        int blockIndex;
 | 
					        int blockIndex = 0;
 | 
				
			||||||
        if (type.isArray()) {
 | 
					        if (type.isArray()) {
 | 
				
			||||||
            TType derefType(type, 0);
 | 
					            TType derefType(type, 0);
 | 
				
			||||||
            for (int e = 0; e < type.getOuterArraySize(); ++e) {
 | 
					            for (int e = 0; e < type.getOuterArraySize(); ++e) {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user