Raised This Month: $ Target: $400
 0% 

stupid warning...


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Burnzy
Veteran Member
Join Date: Apr 2004
Old 07-17-2004 , 14:20   stupid warning...
Reply With Quote #1

Quote:
Small compiler 2.1.0 Copyright (c) 1997-2002, ITB CompuPhase

amx_mail.sma(253) : warning 219: local variable "date" shadows a variable at a preceding level

1 Warning.
Press any key to continue . . .
what would that mean?

line 253:
Quote:
new text[256], msg[256], date[16], i, mlen, a
Attached Files
File Type: sma Get Plugin or Get Source (amx_mail.sma - 74 views - 21.9 KB)
__________________
Burnzy is offline
Send a message via AIM to Burnzy
Dygear
SourceMod Donor
Join Date: Apr 2004
Location: Levittown, NY
Old 07-17-2004 , 15:29  
Reply With Quote #2

It means that you have set the var date in some other part of your code.
Just rename the date thing to like datenew in that part of the code only, and you should be fine.[/small]
__________________
Dygear is offline
Send a message via AIM to Dygear Send a message via MSN to Dygear Send a message via Skype™ to Dygear
PM
hello, i am pm
Join Date: Jan 2004
Location: Canalization
Old 07-17-2004 , 16:11  
Reply With Quote #3

In this case, it means that there is already a (in this case native) function called "date".
Code:
native date(&year=0,&month=0,&day=0);
(from scripting/includes/core.ini)
__________________
hello, i am pm
PM is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode