From 0e481f8aaf5faf0aed4cf5ea9bdbb7d458d9efdc Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 18 Jan 2019 22:38:31 +0100 Subject: nxcomp: fix unused variable --- nxcomp/src/Timestamp.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'nxcomp') 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(&ts.tv_sec)); -- cgit v1.2.3 From 0934b1e673d002c69a0c6fa846931df62acd5fb8 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 18 Jan 2019 22:41:05 +0100 Subject: nxcomp: fix unused variables --- nxcomp/src/TranslateCoords.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nxcomp') diff --git a/nxcomp/src/TranslateCoords.h b/nxcomp/src/TranslateCoords.h index 997d079e1..fd9b1590b 100644 --- a/nxcomp/src/TranslateCoords.h +++ b/nxcomp/src/TranslateCoords.h @@ -84,10 +84,10 @@ class TranslateCoordsMessage : public Message unsigned int src_x; unsigned int src_y; - unsigned char r_same_screen; - unsigned int r_child_window; - unsigned int r_dst_x; - unsigned int r_dst_y; + // unsigned char r_same_screen; + // unsigned int r_child_window; + // unsigned int r_dst_x; + // unsigned int r_dst_y; }; class TranslateCoordsStore : public MessageStore -- cgit v1.2.3 From 7c8214f31fd3d83e641067941573ebb89f4f4ddb Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 18 Jan 2019 23:57:04 +0100 Subject: GenericReply.h: remove unused variable --- nxcomp/src/GenericReply.h | 1 - 1 file changed, 1 deletion(-) (limited to 'nxcomp') diff --git a/nxcomp/src/GenericReply.h b/nxcomp/src/GenericReply.h index e899b8467..2b352357f 100644 --- a/nxcomp/src/GenericReply.h +++ b/nxcomp/src/GenericReply.h @@ -83,7 +83,6 @@ class GenericReplyMessage : public Message private: unsigned char byte_data; - unsigned int int_data[6]; unsigned short short_data[12]; }; -- cgit v1.2.3