sysmbol is never defined
#1

C:\Users\Dell\Desktop\server\gamemodes\Airline.pwn (11 : warning 203: symbol is never used: "Airlineid"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply
#2

It's defined, but it's not USED. Nothing to worry about in most cases.
Reply
#3

Just simply remove the line

#define Airlineid [sometext]

and you are good to go
Reply
#4

its not working how to fix it
Reply
#5

Quote:
Originally Posted by hardiksingh5
Посмотреть сообщение
its not working how to fix it
https://sampwiki.blast.hk/wiki/Errors_List

You have created a variable or a function, but you're not using it. Delete the variable or function if you don't intend to use it. This warning is relatively safe to ignore.

Just ignore the warning and leave the variable alone if you are unsure.

What do you mean "its not working"?
Reply
#6

Press CTRL + F and type the variable name "Airlineid", simply delete/remove it.

Anyways, like everyone said above, you can leave it since it will not affect the script in any negative ways.
Reply
#7

Or you can keep the variable but set it to unused.

Код:
#pragma unused Airlineid
Reply
#8

Quote:
Originally Posted by FOTIS6
Посмотреть сообщение
Or you can keep the variable but set it to unused.

Код:
#pragma unused Airlineid
Quote:
Originally Posted by hamzajaved780
Посмотреть сообщение
Just simply remove the line

#define Airlineid [sometext]

and you are good to go
Bad solutions in my opinion, i think u must search the variable who is defined but doesnt used and remove it!
Reply
#9

Find and remove
Код:
new Airlineid
in that line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)