
Pages:<< prev 1 next >>



Geomancer

GroupAdministrators
Posts1,992
JoinedJul 26, 2005
Compile issue in afkmud
Aside from that though and having to install for it to find gd.h include it was good.
realms.cpp: In function ‘void fread_realm(realm_data*, FILE*)’: realms.cpp:312:8: warning: variable ‘file_ver’ set but not used [-Wunused-but-set-variable] 312 | int file_ver = 0; | ^~~~~~~~
Aside from that though and having to install for it to find gd.h include it was good.


Black Hand

GroupAdministrators
Posts3,708
JoinedJan 1, 2002
That's not actually unused. The compiler just doesn't understand the way KEY calls work. The file_ver is set there, which obviously uses that variable.
Pages:<< prev 1 next >>