From: Eric S. Raymond Date: Mon, 17 Apr 2023 11:06:56 +0000 (-0400) Subject: Remove unnecessary code duplication. X-Git-Tag: 1.17~19 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=234da6b468a5014a622d1dfd3c5a55bf019ff922;p=open-adventure.git Remove unnecessary code duplication. --- diff --git a/advent.h b/advent.h index 946fcae..fa87028 100644 --- a/advent.h +++ b/advent.h @@ -249,11 +249,7 @@ struct game_t { } objects[NOBJECTS + 1]; struct { bool used; // hints[i].used = true iff hint i has been used. -#ifndef FOUNDBOOL int lc; // hints[i].lc = show int at LOC with cond bit i -#else - int lc; // hints[i].lc = show int at LOC with cond bit i -#endif } hints[NHINTS]; obj_t link[NOBJECTS * 2 + 1];// object-list links };