From 00c2182d9b21b3d9071b090bad7b168b13322ee3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 19 Apr 2022 16:26:43 -0400 Subject: [PATCH] Code cleanup. --- misc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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. */ -- 2.31.1