aboutsummaryrefslogtreecommitdiff
path: root/src/libstore
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2018-05-25 19:49:45 -0500
committerWill Dietz <w@wdtz.org>2018-05-25 19:49:45 -0500
commitca9c6cb95db03cfb46e044dd45f113a72ee13bd2 (patch)
treea6447e22a4ac6a6e02fcfb0450edece6ec4bbfc5 /src/libstore
parent1df32c7d7c5ce0a4d10fa1e13f557ff525a62efa (diff)
libstore/download: remove unused function "getTime()"
Diffstat (limited to 'src/libstore')
-rw-r--r--src/libstore/download.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 54f4dd218..1076a6d94 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -29,13 +29,6 @@ using namespace std::string_literals;
namespace nix {
-double getTime()
-{
- struct timeval tv;
- gettimeofday(&tv, 0);
- return tv.tv_sec + (tv.tv_usec / 1000000.0);
-}
-
std::string resolveUri(const std::string & uri)
{
if (uri.compare(0, 8, "channel:") == 0)