diff options
| author | Andre Weissflog <floooh@gmail.com> | 2022-09-18 17:38:35 +0200 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2022-09-18 17:38:35 +0200 |
| commit | 05f76fcce80d30bb940e5d2e348a7c4337a92dc6 (patch) | |
| tree | ae861f7c98c4fd8c7a7c8479acaf6323b17c9c57 /util | |
| parent | 59c532528ab86219d8e18ff43f1c117cf473d946 (diff) | |
sokol_spine.h: fix side-effect in assert analyzer warning
Diffstat (limited to 'util')
| -rw-r--r-- | util/sokol_spine.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sokol_spine.h b/util/sokol_spine.h index bc80c0c2..1baf740b 100644 --- a/util/sokol_spine.h +++ b/util/sokol_spine.h @@ -2160,7 +2160,7 @@ static sspine_skeleton _sspine_alloc_skeleton(void) { } static sspine_resource_state _sspine_init_skeleton(_sspine_skeleton_t* skeleton, const sspine_skeleton_desc* desc) { - SOKOL_ASSERT(skeleton && (skeleton->slot.state = SSPINE_RESOURCESTATE_ALLOC)); + SOKOL_ASSERT(skeleton && (skeleton->slot.state == SSPINE_RESOURCESTATE_ALLOC)); SOKOL_ASSERT(desc); if ((0 == desc->json_data) && ((0 == desc->binary_data.ptr) || (0 == desc->binary_data.size))) { |