Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-06-08 00:43:03 +0400
committerVicent Martí <tanoku@gmail.com>2012-06-08 00:43:48 +0400
commit3f0358604e48432b53abf097aa3ab6a1e3639813 (patch)
treec132a79507bb39fc37abb49e361f2f720bc69737 /src/attr.c
parent763b838152244c0d7433cde0046e9f67369074e3 (diff)
misc: Fix warnings from PVS Studio trial
Diffstat (limited to 'src/attr.c')
-rw-r--r--src/attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attr.c b/src/attr.c
index fb6651196..6fbd005d5 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -415,7 +415,7 @@ int git_attr_cache__push_file(
if (parse && (error = parse(repo, content, file)) < 0)
goto finish;
- git_strmap_insert(cache->files, file->key, file, error);
+ git_strmap_insert(cache->files, file->key, file, error); //-V595
if (error > 0)
error = 0;