Forum > General

Compiler messages


I wrote virtual procedure:

Procedure MouseMove(Shift: TShiftState; X, Y: Integer); virtual;   

In function definition I uses only X and Y variables. So compiler shows me such message:
"Hint: Parameter "Shift" not used"

But I dont want to remove shift from procedure because it can be used in oweload functions is there a way to remove this message

see the screenshot please.

Compiler Options->Messages

mas steindorff:
Thanks skalogryz,
I've been wandering how best to remove that warning as well. :)

Thanks that message was very anoying


[0] Message Index

Go to full version