summaryrefslogtreecommitdiff
path: root/src/gettime.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-04-29 09:47:22 +0200
committerLoic Blot <loic.blot@unix-experience.fr>2017-04-29 09:47:22 +0200
commitecf08255b0b6b9d15b86f614942ac8f53f41302a (patch)
treee59f57d957c4048f3ef511fb81329cdd5d3a1543 /src/gettime.h
parent1ecc8756bcab6b97cf31f18163c761dd25fa947e (diff)
downloadminetest-ecf08255b0b6b9d15b86f614942ac8f53f41302a.tar.gz
minetest-ecf08255b0b6b9d15b86f614942ac8f53f41302a.tar.bz2
minetest-ecf08255b0b6b9d15b86f614942ac8f53f41302a.zip
Fix Lint broken by b662a4577d692329b9ca83525e6039f2ddcd1ac1
Diffstat (limited to 'src/gettime.h')
-rw-r--r--src/gettime.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gettime.h b/src/gettime.h
index a93eee387..4d5a02e1e 100644
--- a/src/gettime.h
+++ b/src/gettime.h
@@ -24,7 +24,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <time.h>
#include <string>
-
enum TimePrecision
{
PRECISION_SECONDS,
@@ -33,7 +32,6 @@ enum TimePrecision
PRECISION_NANO
};
-
inline std::string getTimestamp()
{
time_t t = time(NULL);