fix some warnings
This commit is contained in:
@@ -43,6 +43,7 @@ PICAN::PICAN(const PIString & path, PIIODevice::DeviceMode mode) : PIIODevice(pa
|
||||
setThreadedReadBufferSize(256);
|
||||
setPath(path);
|
||||
can_id = 0;
|
||||
sock = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -26,10 +26,6 @@
|
||||
# include <unistd.h>
|
||||
# include <cstdlib>
|
||||
#endif
|
||||
#ifdef __GNUC__
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-but-set-variable"
|
||||
#endif
|
||||
|
||||
|
||||
/*! \class PIGPIO
|
||||
|
||||
@@ -56,8 +56,6 @@ private:
|
||||
std::atomic_bool isShutdown_;
|
||||
PIBlockingQueue<std::function<void()> > taskQueue;
|
||||
PIVector<PIThread*> threadPool;
|
||||
bool queue_own;
|
||||
|
||||
};
|
||||
|
||||
#endif // PITHREADPOOLEXECUTOR_H
|
||||
|
||||
Reference in New Issue
Block a user