mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Return 0 instead of garbage value.
Found by: clang static analyzer
This commit is contained in:
parent
f264409aea
commit
ebc8e8fd7f
1 changed files with 1 additions and 2 deletions
|
|
@ -492,11 +492,10 @@ int
|
|||
_mutex_cv_attach(struct pthread_mutex *m, int count)
|
||||
{
|
||||
struct pthread *curthread = _get_curthread();
|
||||
int error;
|
||||
|
||||
ENQUEUE_MUTEX(curthread, m);
|
||||
m->m_count = count;
|
||||
return (error);
|
||||
return (0);
|
||||
}
|
||||
|
||||
int
|
||||
|
|
|
|||
Loading…
Reference in a new issue