summaryrefslogtreecommitdiff
path: root/src/fileops.c
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-03-18 14:05:31 -0700
committerVicent Martí <vicent@github.com>2013-03-18 14:05:31 -0700
commit50eb8520d06ac0c484a0ce3a3fba6c5da25ec976 (patch)
treea24fd75f4dc96b71ffb41267899a9b8106b58158 /src/fileops.c
parent677dce8a77be0631c02acd20b23c3d4e43ccd41b (diff)
parent10c06114cbb1c384b7de3cca6d6601ee750f5178 (diff)
downloadlibgit2-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.c2
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 = "";