From 85cc3e43d48ac08e23402c46938d3ee92cef3bca Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Wed, 10 Jul 2019 12:36:56 +0200 Subject: [PATCH] pdnsutil: remove unused humanTime function --- pdns/pdnsutil.cc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index ed3bf5d3db..8eb3f016db 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -51,15 +51,6 @@ ArgvMap &arg() return arg; } -string humanTime(time_t t) -{ - char ret[256]; - struct tm tm; - localtime_r(&t, &tm); - strftime(ret, sizeof(ret)-1, "%c", &tm); // %h:%M %Y-%m-%d - return ret; -} - void loadMainConfig(const std::string& configdir) { ::arg().set("config-dir","Location of configuration directory (pdns.conf)")=configdir; -- 2.47.2