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

github.com/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/helper/test-date.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/helper/test-date.c b/t/helper/test-date.c
index 792a8053746..f9e2b91ed1b 100644
--- a/t/helper/test-date.c
+++ b/t/helper/test-date.c
@@ -83,7 +83,7 @@ static void parse_approx_timestamp(const char **argv, struct timeval *now)
}
}
-static void getnanos(const char **argv, struct timeval *now)
+static void getnanos(const char **argv)
{
double seconds = getnanotime() / 1.0e9;
@@ -119,7 +119,7 @@ int cmd__date(int argc, const char **argv)
else if (!strcmp(*argv, "timestamp"))
parse_approx_timestamp(argv+1, &now);
else if (!strcmp(*argv, "getnanos"))
- getnanos(argv+1, &now);
+ getnanos(argv+1);
else if (!strcmp(*argv, "is64bit"))
return sizeof(timestamp_t) == 8 ? 0 : 1;
else if (!strcmp(*argv, "time_t-is64bit"))