Uneeded unique lock initialization?
Throwaway8 opened this issue · 1 comments
Throwaway8 commented
gr-iio/lib/device_source_impl.cc
Line 111 in c89d543
boost::unique_lockboost::mutex lock(iio_mutex);
Maybe I am wrong and its is being used elsewhere but it seems like this wraps the mutex as a unique_lock type from boost but is never used, maybe it could be removed.
Throwaway8 commented
creating the lock automatically locks it