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-05-03 06:56:38 +0400
committerVicent Martí <tanoku@gmail.com>2012-05-03 06:56:38 +0400
commit3fbcac89c47cb66ea193f66da6d93d1c36ed0f5e (patch)
tree1774677db7e5f0e33c3ab3967d64e2c95a631a5e /src/util.c
parentb02bcd97f80beabc96cd1f861bfc3b5f7532ef8b (diff)
Remove old and unused error codes
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/util.c b/src/util.c
index 2cf7b158b..20a627ea8 100644
--- a/src/util.c
+++ b/src/util.c
@@ -60,22 +60,6 @@ int git_strarray_copy(git_strarray *tgt, const git_strarray *src)
return 0;
}
-int git__fnmatch(const char *pattern, const char *name, int flags)
-{
- int ret;
-
- ret = p_fnmatch(pattern, name, flags);
- switch (ret) {
- case 0:
- return 0;
- case FNM_NOMATCH:
- return GIT_ENOMATCH;
- default:
- giterr_set(GITERR_OS, "Error trying to match path");
- return -1;
- }
-}
-
int git__strtol64(int64_t *result, const char *nptr, const char **endptr, int base)
{
const char *p;