Obsolete
Status Update
Comments
ez...@google.com <ez...@google.com>
ar...@google.com <ar...@google.com> #2
I notice the same issue and LogCat shows the following message:
Google Play services out of date. Requires 3159100 but found 3136130
Google Play services out of date. Requires 3159100 but found 3136130
Description
"Local variable 'guard' is assigned but never used"
std::mutex m;
{
std::lock_guard<std::mutex> guard(m);
do_something();
}
This warning is incorrect in this case, because the only purpose of guard is to hold the mutex, and nobody would ever use it.