mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
util/simple_mtx: Add ASSERTED to parameter used only in an assert
Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com> Reviewed-by: Eric Engestrom <eric@igalia.com> Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30095>
This commit is contained in:
parent
5cc977bee4
commit
ad603d300d
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ simple_mtx_unlock(simple_mtx_t *mtx)
|
|||
}
|
||||
|
||||
static inline void
|
||||
simple_mtx_assert_locked(simple_mtx_t *mtx)
|
||||
simple_mtx_assert_locked(ASSERTED simple_mtx_t *mtx)
|
||||
{
|
||||
assert(mtx->val);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue