mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
This forces the use of a semicolon after INIT() and makes existing ones, which was the case for basically all instances, necessary so e.g. sonarcloud won't complain about an empty statement after every one of them. By evaluating to the allocated object, it would theoretically also allow constructs like this: struct_t *this; return INIT(this, .a = x, .b = y, ); or this: array_insert(a, ARRAY_TAIL, INIT(this, .a = x, .b = y, ));