diff options
| author | nulltoken <emeric.fermas@gmail.com> | 2011-07-03 14:42:32 +0200 |
|---|---|---|
| committer | schu <schu-github@schulog.org> | 2011-07-06 12:25:27 +0200 |
| commit | 1ee5fd903d00930aab08edecc6b409a34761cf7e (patch) | |
| tree | 076eef83fd6f8d462aa84779c45385de21b394d4 /src/fileops.c | |
| parent | 0ffcf78a30377971d4928439ae387396b3922cbf (diff) | |
| download | libgit2-1ee5fd903d00930aab08edecc6b409a34761cf7e.tar.gz | |
Fix windows specific issues
- msvc compilation warnings
- not released file handle that prevents file removal
Diffstat (limited to 'src/fileops.c')
| -rw-r--r-- | src/fileops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileops.c b/src/fileops.c index afca0329f..ab3f43cc5 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -305,6 +305,8 @@ static int _rmdir_recurs_cb(void *GIT_UNUSED(nil), char *path) { int error = GIT_SUCCESS; + GIT_UNUSED_ARG(nil) + error = git_futils_isdir(path); if (error == GIT_SUCCESS) { size_t root_size = strlen(path); |
