analogdevicesinc/gr-iio

Uneeded unique lock initialization?

Throwaway8 opened this issue · 1 comments

boost::unique_lock<boost::mutex> lock(iio_mutex);

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.

creating the lock automatically locks it