mirror of
https://github.com/systemd/systemd.git
synced 2024-10-31 07:51:21 +03: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);
|