Code cleanup.

This commit is contained in:
Eric S. Raymond 2022-04-19 16:26:43 -04:00
parent 9af3ab4ecd
commit 00c2182d9b

7
misc.c
View file

@ -283,12 +283,10 @@ bool silent_yes_or_no(void)
free(firstword);
if (yes == 0 ||
y == 0) {
if (yes == 0 || y == 0) {
outcome = true;
break;
} else if (no == 0 ||
n == 0) {
} else if (no == 0 || n == 0) {
outcome = false;
break;
} else
@ -569,7 +567,6 @@ void clear_command(command_t *cmd)
cmd->state = EMPTY;
}
void juggle(obj_t object)
/* Juggle an object by picking it up and putting it down again, the purpose
* being to get the object to the front of the chain of things at its loc. */