Oh, __NO__unused_parameters, yeah.
we could also sprinkle the code with G_GNUC_UNUSED all over the place; but is it worth it?
Well, thats GUNC only IIUC, unlike G_NORETURN which supports multiple compilers. So probably not. (unless "somebody" created b4nlib and B_UNUSED :-)
Of course C++ indicates it with no name on the parameter declaration, but does C follow that sensible strategy? NO!! C23 adds ugly [[maybe_unused]]
to function parameters as well ... sigh [end rant]
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.