diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2015-02-03 05:35:24 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-02-04 14:15:13 +0000 |
commit | fa89ff20cd777fafc3e971bbf8081d97ce082c15 (patch) | |
tree | 4b0aa145b521abecfa5c31eb7efa67be25b34e98 /src/attr.c | |
parent | 500ec5431564d9167985a02909823e1286136d5b (diff) | |
download | libgit2-fa89ff20cd777fafc3e971bbf8081d97ce082c15.tar.gz |
remove some unused warnings
Diffstat (limited to 'src/attr.c')
-rw-r--r-- | src/attr.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/attr.c b/src/attr.c index 020bb1c8b..2e1ef7c2a 100644 --- a/src/attr.c +++ b/src/attr.c @@ -251,7 +251,6 @@ static int preload_attr_file( static int system_attr_file( git_buf *out, - git_repository *repo, git_attr_session *attr_session) { int error; @@ -306,7 +305,7 @@ static int attr_setup(git_repository *repo, git_attr_session *attr_session) * definitions will be available for later file parsing */ - error = system_attr_file(&sys, repo, attr_session); + error = system_attr_file(&sys, attr_session); if (error == 0) error = preload_attr_file( @@ -526,7 +525,7 @@ static int collect_attr_files( } if ((flags & GIT_ATTR_CHECK_NO_SYSTEM) == 0) { - error = system_attr_file(&dir, repo, attr_session); + error = system_attr_file(&dir, attr_session); if (!error) error = push_attr_file( |