aboutsummaryrefslogtreecommitdiff
path: root/test/test-loop-time.c
diff options
context:
space:
mode:
authorJameson Nash <vtjnash@gmail.com>2025-07-16 12:39:56 -0400
committerGitHub <noreply@github.com>2025-07-16 12:39:56 -0400
commita21e7cfaf8ed00592d72579d27f401ff3179ecab (patch)
tree3e84108410bb6c15127d58a6c4cfd96e2f50d6db /test/test-loop-time.c
parent4887c09cf27167bb664b089b48d3ef9a5cb736cf (diff)
downloadlibuv-a21e7cfaf8ed00592d72579d27f401ff3179ecab.tar.gz
libuv-a21e7cfaf8ed00592d72579d27f401ff3179ecab.zip
test: simplify ASSERT_OK macro for static analysis (#4830)
I was testing a static analyzer on libuv's code, and it could not understand the use of a constant variable in the condition as an assert branch. This simplifies the code for easier static analysis. I also removed the explicit casts, relying instead on C's casting rules to catch some misuse.
Diffstat (limited to 'test/test-loop-time.c')
0 files changed, 0 insertions, 0 deletions