Finally getting around to these, but I am going to need some help. The first one I might be missing something is:
Code:
act.wizard.c: In function ‘do_file’:
act.wizard.c:4268:10: warning: variable ‘j’ set but not used [-Wunused-but-set-variable]
int i, j; /* Generic loop counters. */
...
/* Rename the player's pfile */
sprintf(buf, "mv %s %s", old_pfile, new_pfile);
j = system(buf);
Isn't "j = system(buf)" necessary for the sprintf to execute? If so I don't see a way to fix this warning. Or can we just do "system(buf);"?