diff options
author | Vicent Martà <vicent@github.com> | 2013-03-18 14:05:31 -0700 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2013-03-18 14:05:31 -0700 |
commit | 50eb8520d06ac0c484a0ce3a3fba6c5da25ec976 (patch) | |
tree | a24fd75f4dc96b71ffb41267899a9b8106b58158 /src/fileops.c | |
parent | 677dce8a77be0631c02acd20b23c3d4e43ccd41b (diff) | |
parent | 10c06114cbb1c384b7de3cca6d6601ee750f5178 (diff) | |
download | libgit2-50eb8520d06ac0c484a0ce3a3fba6c5da25ec976.tar.gz |
Merge pull request #1420 from KindDragon/static-code-analyzer-warnings
Several warnings detected by static code analyzer fixed
Diffstat (limited to 'src/fileops.c')
-rw-r--r-- | src/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c index c1824e812..e33377eac 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -529,7 +529,7 @@ int git_futils_cleanupdir_r(const char *path) git_buf fullpath = GIT_BUF_INIT; futils__rmdir_data data; - if ((error = git_buf_put(&fullpath, path, strlen(path)) < 0)) + if ((error = git_buf_put(&fullpath, path, strlen(path))) < 0) goto clean_up; data.base = ""; |