Warning: Automatic variable filter_event is allocated

Hi,
I have a root macro that includes the filter_event.C and when I run the macro I get the following warning for every one of my 250K events :

Warning: Automatic variable filter_event is allocated FILE:filter_event.C LINE:145

How can I make root happy or just disable this warnings such that I don’t have 205K lines in my log file ?
Thanks,
Andre Sznajder

Well! the message should be clear enough. You forgot to declare the type
of your variable or function filter_event.

Rene

I have tried to declare the function it in the macro as :
Int_t filter_event();

But I still get the warning.
Is there any special way of declaring it ?
Thanks,
Andre

If you declare the type of your function, the declaration must match the effective type in the implementation.
I cannot tell you more without looking at your script.

Rene