Skip to content

Commit

Permalink
Fix tests warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hirrolot committed Mar 30, 2022
1 parent 3ca2885 commit 7de8bd1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/types/test_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@
ASSERT(T##_eq(&result, &expected)); \
} \
of(SmolRTSP_ParseResult_Failure, error) { \
SmolRTSP_ParseError_print( \
const int err_bytes = SmolRTSP_ParseError_print( \
*error, smolrtsp_file_writer(stderr)); \
ASSERT(err_bytes >= 0); \
FAILm("Parsing failed"); \
} \
} \
Expand Down

0 comments on commit 7de8bd1

Please sign in to comment.