summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/libgit2/fetch.c1
-rw-r--r--tests/libgit2/clone/shallow.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/libgit2/fetch.c b/src/libgit2/fetch.c
index 874813b4e..2a419534e 100644
--- a/src/libgit2/fetch.c
+++ b/src/libgit2/fetch.c
@@ -21,7 +21,6 @@
#include "repository.h"
#include "refs.h"
#include "transports/smart.h"
-#include <limits.h>
static int maybe_want(git_remote *remote, git_remote_head *head, git_refspec *tagspec, git_remote_autotag_option_t tagopt)
{
diff --git a/tests/libgit2/clone/shallow.c b/tests/libgit2/clone/shallow.c
index b0114081c..eacfe1bcf 100644
--- a/tests/libgit2/clone/shallow.c
+++ b/tests/libgit2/clone/shallow.c
@@ -10,7 +10,6 @@ void test_clone_shallow__initialize(void)
void test_clone_shallow__cleanup(void)
{
git_libgit2_opts(GIT_OPT_ENABLE_SHALLOW, 0);
- /*cl_git_sandbox_cleanup();*/
}
static int remote_single_branch(git_remote **out, git_repository *repo, const char *name, const char *url, void *payload)