diff options
| author | Vicent Martà <tanoku@gmail.com> | 2011-06-06 18:27:29 -0700 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2011-06-06 18:27:29 -0700 |
| commit | fe79750baa01e74e03b6ad079ab2d6294b0e01d7 (patch) | |
| tree | 5668b20d5b302da592cd9dd337f8a8e67a5db5c0 /src/repository.c | |
| parent | 00c31dd293c43f071e7b4b5cbb3670a4bdb60916 (diff) | |
| parent | 393a9f9ee12fa635656f43155df1f664dfbb7215 (diff) | |
| download | libgit2-fe79750baa01e74e03b6ad079ab2d6294b0e01d7.tar.gz | |
Merge pull request #236 from Jopie64/development
Fix build errors on MSVC
Diffstat (limited to 'src/repository.c')
| -rw-r--r-- | src/repository.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c index 034e60a23..c9678f185 100644 --- a/src/repository.c +++ b/src/repository.c @@ -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)); |
