On 6/2/23 09:13, Ping-Ke Shih wrote:
Don't you think casting of 'void' only makes tool happy?
The point is in commenting the pieces of code which looks like leftovers and probably should be reconsidered. Explicit casts to void should be considered as an extra annotations rather than an attempts to fix something. Dmitry