(getcommand): Remove unused variable i

This commit is contained in:
Ron Koenderink 2005-07-24 17:24:21 +00:00
parent 2248c07024
commit c0a43eb872

View file

@ -72,7 +72,6 @@ getcommand(char *combufp)
{ {
struct natstr *natp = getnatp(player->cnum); struct natstr *natp = getnatp(player->cnum);
char buf[1024]; /* user text */ char buf[1024]; /* user text */
int i;
if (++player_commands_index >= KEEP_COMMANDS) if (++player_commands_index >= KEEP_COMMANDS)
player_commands_index = 0; player_commands_index = 0;