On Tue, Feb 02, 2016 at 08:25:54PM +0530, Sudip Mukherjee wrote: > oops... i just sent the v2 while removing pvr. Which is the better way > then? > Personally, I donot like __maybe_unused, it is telling gcc that this > variable is unused so donot give any warning for it. But in reality it > is being used in some cases.
And? You want to shut up the warning, right? Adding __maybe_unused is the simplest variant without disadvantages. Or are there any? -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.