From cd327188bd11497debe9746d2191418a9f6a983f Mon Sep 17 00:00:00 2001 From: abs Date: Sat, 18 Mar 2006 01:43:52 +0000 Subject: If none of the boarding parties are set do not fall off the end of the list. Addresses Coverity CID 1507. Also put pointers before shorts in a struct rather than mixing them up --- sail/extern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sail/extern.h') diff --git a/sail/extern.h b/sail/extern.h index f2288406..164e852e 100644 --- a/sail/extern.h +++ b/sail/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.27 2004/02/08 00:32:48 jsm Exp $ */ +/* $NetBSD: extern.h,v 1.28 2006/03/18 01:43:52 abs Exp $ */ /* * Copyright (c) 1983, 1993 @@ -148,8 +148,8 @@ struct logs { }; struct BP { - short turnsent; struct ship *toship; + short turnsent; short mensent; }; -- cgit v1.2.3