Closed slaff closed 2 years ago
Just for clarification.
These variables are only declared to pass on to the rpcTypeOf()
function for type deduction, their values are never used. All code containing these variables are optimised away by the compiler (perhaps unless the compiler can be instructed not to do so).
So, is it correct to say that this patch is only for getting rid of compiler warning messages?
So, is it correct to say that this patch is only for getting rid of compiler warning messages?
Yes, correct.
Okay, thank you for the patch.
Example error output before this PR.
Tested with GCC version 9.4.0 on Ubuntu.