mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-18 18:18:00 -05:00
The UV_RUNTIME_CHECK() macro requires to keep the function name in sync
like this:
r = func(...);
UV_RUNTIME_CHECK(func, r);
Add semantic patch to keep the function name and return variable in sync
with the previous line.
8 lines
93 B
Text
8 lines
93 B
Text
@@
|
|
expression E;
|
|
int R;
|
|
@@
|
|
|
|
R = E(...);
|
|
- UV_RUNTIME_CHECK(...);
|
|
+ UV_RUNTIME_CHECK(E, R);
|