Fix uninitialized variable in decl_enum().
This commit is contained in:
		
							parent
							
								
									9e882783f9
								
							
						
					
					
						commit
						bcef7365b0
					
				| @ -4647,9 +4647,9 @@ static void decl_enum(int vclass) | |||||||
|   char *str; |   char *str; | ||||||
|   int tag,explicittag; |   int tag,explicittag; | ||||||
|   cell increment,multiplier; |   cell increment,multiplier; | ||||||
|   constvalue *enumroot; |  | ||||||
|   LayoutSpec spec; |   LayoutSpec spec; | ||||||
|   symbol *enumsym = nullptr; |   symbol *enumsym = nullptr; | ||||||
|  |   constvalue *enumroot = nullptr; | ||||||
| 
 | 
 | ||||||
|   /* get an explicit tag, if any (we need to remember whether an explicit
 |   /* get an explicit tag, if any (we need to remember whether an explicit
 | ||||||
|    * tag was passed, even if that explicit tag was "_:", so we cannot call |    * tag was passed, even if that explicit tag was "_:", so we cannot call | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user