aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-01-18 22:38:31 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-03-01 12:02:25 +0100
commit0e481f8aaf5faf0aed4cf5ea9bdbb7d458d9efdc (patch)
tree6f8e5817430b24e42c00d1cb1d62cc9c519ab7d9
parent471342933b19bb0648d4f339be6e160545013f51 (diff)
downloadnx-libs-0e481f8aaf5faf0aed4cf5ea9bdbb7d458d9efdc.tar.gz
nx-libs-0e481f8aaf5faf0aed4cf5ea9bdbb7d458d9efdc.tar.bz2
nx-libs-0e481f8aaf5faf0aed4cf5ea9bdbb7d458d9efdc.zip
nxcomp: fix unused variable
-rw-r--r--nxcomp/src/Timestamp.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/nxcomp/src/Timestamp.cpp b/nxcomp/src/Timestamp.cpp
index 4a9dd3347..273f2823b 100644
--- a/nxcomp/src/Timestamp.cpp
+++ b/nxcomp/src/Timestamp.cpp
@@ -49,7 +49,6 @@ std::string strTimestamp(const T_timestamp &ts)
std::string ret;
char ctime_now[26] = { };
- bool err = true;
#if HAVE_CTIME_S
errno_t retval = ::ctime_s(ctime_now, sizeof(ctime_now), static_cast<const time_t*>(&ts.tv_sec));