Qt 6.11 is out! See what's new in the release
blog
Suppressing warning "unused parameter". How?
-
-
If you're a cool guy, you can comment out the variable name in the function header:
CoolGuyClass::coolFunction(int /*im_useless*/)@qwasder85 : That is how I would do it and wondered, why the MACRO exists. Today I found a use case: If a variable is unused only in release but used in debug build!
I just wanted to share ...