Received: by mail.netbsd.org (Postfix, from userid 605) id 1ACA484DA9; Sat, 5 Oct 2019 23:34:16 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 9309584DA6 for ; Sat, 5 Oct 2019 23:34:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id rmux2T5ZSsTj for ; Sat, 5 Oct 2019 23:34:15 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 3075A84C6C for ; Sat, 5 Oct 2019 23:34:15 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2A41AFBF4; Sat, 5 Oct 2019 23:34:15 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sat, 5 Oct 2019 23:34:15 +0000 From: "matthew green" Subject: CVS commit: src/games/battlestar To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20191005233415.2A41AFBF4@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "matthew green" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: mrg Date: Sat Oct 5 23:34:15 UTC 2019 Modified Files: src/games/battlestar: room.c Log Message: expand the internal consistency checks in truedirec() to avoid fallthrough cases. now if direction turns up wrong (it should not, but this code can't tell that, and convert it to an enum that would also fix this, is more effort than this is worth. To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/games/battlestar/room.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.