From: Eric S. Raymond Date: Tue, 19 Apr 2022 20:26:43 +0000 (-0400) Subject: Code cleanup. X-Git-Tag: 1.12~15 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=00c2182d9b21b3d9071b090bad7b168b13322ee3;p=open-adventure.git Code cleanup. --- diff --git a/misc.c b/misc.c index 35c4e4b..cf404f7 100644 --- a/misc.c +++ b/misc.c @@ -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. */