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
path: root/src/tag.c
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-03 06:56:38 +0400
committerVicent Martí <tanoku@gmail.com>2012-05-03 06:56:38 +0400
commit3fbcac89c47cb66ea193f66da6d93d1c36ed0f5e (patch)
tree1774677db7e5f0e33c3ab3967d64e2c95a631a5e /src/tag.c
parentb02bcd97f80beabc96cd1f861bfc3b5f7532ef8b (diff)
Remove old and unused error codes
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tag.c b/src/tag.c
index ff22bf79f..aa549fdd0 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -420,7 +420,7 @@ int git_tag_list_match(git_strarray *tag_names, const char *pattern, git_reposit
assert(tag_names && repo && pattern);
if (git_vector_init(&taglist, 8, NULL) < GIT_SUCCESS)
- return GIT_ENOMEM;
+ return -1;
filter.taglist = &taglist;
filter.pattern = pattern;