From ca9c6cb95db03cfb46e044dd45f113a72ee13bd2 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Fri, 25 May 2018 19:49:45 -0500 Subject: [PATCH] libstore/download: remove unused function "getTime()" --- src/libstore/download.cc | 7 ------- 1 file changed, 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)