Fix a "label defined but unreferenced" warning.
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
		 Ramsay Jones
					Ramsay Jones
				
			
				
					committed by
					
						 Junio C Hamano
						Junio C Hamano
					
				
			
			
				
	
			
			
			 Junio C Hamano
						Junio C Hamano
					
				
			
						parent
						
							78cb59c8e5
						
					
				
				
					commit
					ee96d11beb
				
			
							
								
								
									
										2
									
								
								refs.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								refs.c
									
									
									
									
									
								
							| @ -1042,7 +1042,9 @@ int create_symref(const char *ref_target, const char *refs_heads_master, | |||||||
| 		return -1; | 		return -1; | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
|  | #ifndef NO_SYMLINK_HEAD | ||||||
| 	done: | 	done: | ||||||
|  | #endif | ||||||
| 	if (logmsg && !read_ref(refs_heads_master, new_sha1)) | 	if (logmsg && !read_ref(refs_heads_master, new_sha1)) | ||||||
| 		log_ref_write(ref_target, old_sha1, new_sha1, logmsg); | 		log_ref_write(ref_target, old_sha1, new_sha1, logmsg); | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user