View Single Post
  #2  
Old 03-31-2003, 07:03 PM
Ethereal
Fire Beetle
 
Join Date: Mar 2003
Location: Canada
Posts: 17
Default

Unrelated to above error, but another section where unused variables appear:
-----------------------------------------------------------------------------------------------------------

gcc32 -c -Wall -Wuninitialized -Wwrite-strings -Wcast-qual -Wbad-function-cast -Wstrict-prototypes -Wno-deprecated -Wnested-externs -Wcomment -Wcast-align -O -ggdb -march=i686 -pipe -D_THREAD_SAFE -D__USE_UNIX98 -D_GNU_SOURCE -DINVERSEXY -DFX -I/usr/include/mysql -I/usr/local/include/mysql -I/usr/local/include/pthread/linuxthreads client_process.cpp -o client_process.o
client_process.cpp: In member function `int Client::HandlePacket(const
APPLAYER*)':
client_process.cpp:194: warning: unused variable `APPLAYER*outapp'
client_process.cpp:1034: warning: comparison between signed and unsigned
integer expressions
client_process.cpp:1479: warning: unused variable `sint16 tx1'
client_process.cpp:1480: warning: unused variable `sint16 tx2'

client_process.cpp:3321: warning: cast from `const char*' to `char*' discards
qualifiers from pointer target type
client_process.cpp:3924: warning: cast from `const Item_Struct*' to `
Item_Struct*' discards qualifiers from pointer target type
client_process.cpp:3916: warning: unused variable `int vlc'
client_process.cpp:3954: warning: cast from `const Item_Struct*' to `
Item_Struct*' discards qualifiers from pointer target type
client_process.cpp:4006: warning: passing `double' for argument 1 of `void
Client::AddMoneyToPP(unsigned int)'
client_process.cpp:4018: warning: passing `double' for argument 1 of `void
Client::AddMoneyToPP(unsigned int)'
client_process.cpp: In member function `void
Client::BulkSendMerchantInventory(int, short unsigned int)':
client_process.cpp:5843: warning: comparison between signed and unsigned
integer expressions
__________________
Ethereal - The Master Of Spirits
Un-Official EQEMU FreeBSD Complainist
A.K.A - Pain in the ass
_________________
Reply With Quote