Compiler complaint.
< Newer Topic
:: Older Topic >
Pages:<< prev 1 next >>
#1 Jan 4, 2025 8:25 pm
Geomancer
GroupAdministrators
Posts1,982
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.
#2 Jan 6, 2025 12:54 pm
Black Hand
GroupAdministrators
Posts3,710
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 >>