mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Fix: warning: mutex '_aqm_m' is not held on every path through here [-Wthread-safety-analysis] (#1964)
This commit is contained in:
parent
7c8d5b0afd
commit
1b59712c48
1 changed files with 1 additions and 0 deletions
|
@ -642,6 +642,7 @@ void Switch::aqm_enqueue(void *tPtr, const SharedPtr<Network> &network, Packet &
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!selectedQueue) {
|
if (!selectedQueue) {
|
||||||
|
_aqm_m.unlock();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue