mirror of
https://github.com/systemd/systemd
synced 2024-09-06 16:56:43 +00:00
15 lines
160 B
Plaintext
15 lines
160 B
Plaintext
![]() |
@@
|
||
|
local idexpression p;
|
||
|
expression q;
|
||
|
@@
|
||
|
- p = q;
|
||
|
- q = NULL;
|
||
|
- return p;
|
||
|
+ return TAKE_PTR(q);
|
||
|
@@
|
||
|
expression p, q;
|
||
|
@@
|
||
|
- p = q;
|
||
|
- q = NULL;
|
||
|
+ p = TAKE_PTR(q);
|