From ede77f46eec4dc7607f8c25458ee7ed637c3b05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Math=C3=A4us=20Mendel?= Date: Wed, 9 Mar 2016 17:20:37 -0300 Subject: [PATCH] Removed unused variables When compiling with higher warning levels the compiler warns about these unused variables. --- Foundation/include/Poco/NamedEvent_UNIX.h | 2 -- Foundation/include/Poco/NamedMutex_UNIX.h | 2 -- MongoDB/include/Poco/MongoDB/GetMoreRequest.h | 1 - 3 files changed, 5 deletions(-) diff --git a/Foundation/include/Poco/NamedEvent_UNIX.h b/Foundation/include/Poco/NamedEvent_UNIX.h index 63dabcad3..9aba82104 100644 --- a/Foundation/include/Poco/NamedEvent_UNIX.h +++ b/Foundation/include/Poco/NamedEvent_UNIX.h @@ -44,8 +44,6 @@ private: #if defined(sun) || defined(__APPLE__) || defined(__osf__) || defined(__QNX__) || defined(_AIX) sem_t* _sem; #else - int _lockfd; // lock file descriptor - int _semfd; // file used to identify semaphore int _semid; // semaphore id #endif }; diff --git a/Foundation/include/Poco/NamedMutex_UNIX.h b/Foundation/include/Poco/NamedMutex_UNIX.h index 631231867..78515545b 100644 --- a/Foundation/include/Poco/NamedMutex_UNIX.h +++ b/Foundation/include/Poco/NamedMutex_UNIX.h @@ -47,8 +47,6 @@ private: #if defined(sun) || defined(__APPLE__) || defined(__osf__) || defined(__QNX__) || defined(_AIX) sem_t* _sem; #else - int _lockfd; // lock file descriptor - int _semfd; // file used to identify semaphore int _semid; // semaphore id #endif }; diff --git a/MongoDB/include/Poco/MongoDB/GetMoreRequest.h b/MongoDB/include/Poco/MongoDB/GetMoreRequest.h index 9b2a4c8bd..e73941e1e 100644 --- a/MongoDB/include/Poco/MongoDB/GetMoreRequest.h +++ b/MongoDB/include/Poco/MongoDB/GetMoreRequest.h @@ -58,7 +58,6 @@ protected: void buildRequest(BinaryWriter& writer); private: - Int32 _flags; std::string _fullCollectionName; Int32 _numberToReturn; Int64 _cursorID;