mirror of
				https://git.proxmox.com/git/libgit2
				synced 2025-11-04 14:08:17 +00:00 
			
		
		
		
	Merge pull request #236 from Jopie64/development
Fix build errors on MSVC
This commit is contained in:
		
						commit
						fe79750baa
					
				@ -960,7 +960,7 @@ static int pack_entry_find_offset(
 | 
			
		||||
	const unsigned char *index = p->index_map.data;
 | 
			
		||||
	unsigned hi, lo, stride;
 | 
			
		||||
	int pos, found = 0;
 | 
			
		||||
	const unsigned char *current;
 | 
			
		||||
	const unsigned char *current = 0;
 | 
			
		||||
 | 
			
		||||
	*offset_out = 0;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -464,7 +464,7 @@ int git_repository_discover(char *repository_path, size_t size, const char *star
 | 
			
		||||
	char bare_path[GIT_PATH_MAX];
 | 
			
		||||
	char normal_path[GIT_PATH_MAX];
 | 
			
		||||
	char *found_path;
 | 
			
		||||
	dev_t current_device;
 | 
			
		||||
	dev_t current_device = 0;
 | 
			
		||||
 | 
			
		||||
	assert(start_path && repository_path);
 | 
			
		||||
	memset(&repo, 0x0, sizeof(git_repository));
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user