diff options
| author | Vicent Martà <tanoku@gmail.com> | 2012-06-07 22:43:03 +0200 |
|---|---|---|
| committer | Vicent Martà <tanoku@gmail.com> | 2012-06-07 22:43:48 +0200 |
| commit | 3f0358604e48432b53abf097aa3ab6a1e3639813 (patch) | |
| tree | c132a79507bb39fc37abb49e361f2f720bc69737 /tests-clar/index/tests.c | |
| parent | 763b838152244c0d7433cde0046e9f67369074e3 (diff) | |
| download | libgit2-3f0358604e48432b53abf097aa3ab6a1e3639813.tar.gz | |
misc: Fix warnings from PVS Studio trial
Diffstat (limited to 'tests-clar/index/tests.c')
| -rw-r--r-- | tests-clar/index/tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/index/tests.c b/tests-clar/index/tests.c index 3436f8d1e..a535d6815 100644 --- a/tests-clar/index/tests.c +++ b/tests-clar/index/tests.c @@ -33,7 +33,7 @@ static void copy_file(const char *src, const char *dst) cl_git_pass(git_futils_readbuffer(&source_buf, src)); - dst_fd = git_futils_creat_withpath(dst, 0777, 0666); + dst_fd = git_futils_creat_withpath(dst, 0777, 0666); //-V536 if (dst_fd < 0) goto cleanup; |
