Am 23.09.22 um 12:12 schrieb Frank Lichtenheld:
bool event_timeout_trigger(struct event_timeout *et,
struct timeval *tv,
- const int et_const_retry);
+ int et_const_retry);
Why remove the const here? You did not remove it in interval.c
clang-tidy complains here. The reason is that the const is doing
nothing in the prototype:
Clang-Tidy: Parameter 'et_const_retry' is const-qualified in the
function declaration; const-qualification of parameters only has an
effect in function definitions.
Arne
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel