mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-04 09:33:33 +01:00
9e1fa95920
This patch replaces tt_assert() checks for NULL/non-NULL values with tt_ptr_op().
12 lines
131 B
Plaintext
12 lines
131 B
Plaintext
@@
|
|
expression * e;
|
|
@@
|
|
|
|
(
|
|
- tt_assert(e != NULL)
|
|
+ tt_ptr_op(e, OP_NE, NULL)
|
|
|
|
|
- tt_assert(e == NULL)
|
|
+ tt_ptr_op(e, OP_EQ, NULL)
|
|
)
|