diff options
author | Will Dietz <w@wdtz.org> | 2018-05-25 19:49:45 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-05-25 19:49:45 -0500 |
commit | ca9c6cb95db03cfb46e044dd45f113a72ee13bd2 (patch) | |
tree | a6447e22a4ac6a6e02fcfb0450edece6ec4bbfc5 /src/libstore | |
parent | 1df32c7d7c5ce0a4d10fa1e13f557ff525a62efa (diff) |
libstore/download: remove unused function "getTime()"
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/download.cc | 7 |
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) |