From 00a63a8f8922196723c2c50f273e8406378b26dd Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 18 Mar 2006 23:25:30 +0000 Subject: Coverity CID 1230: Remove spurious close(). --- backgammon/common_source/save.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'backgammon') diff --git a/backgammon/common_source/save.c b/backgammon/common_source/save.c index d0c58715..b6f6a30f 100644 --- a/backgammon/common_source/save.c +++ b/backgammon/common_source/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.11 2005/07/01 01:12:39 jmc Exp $ */ +/* $NetBSD: save.c,v 1.12 2006/03/18 23:25:30 christos Exp $ */ /* * Copyright (c) 1980, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: save.c,v 1.11 2005/07/01 01:12:39 jmc Exp $"); +__RCSID("$NetBSD: save.c,v 1.12 2006/03/18 23:25:30 christos Exp $"); #endif #endif /* not lint */ @@ -116,7 +116,6 @@ save(int n) writel(cantuse); writel(fname); writel(".\n"); - close(fdesc); cflag = 1; } write(fdesc, board, sizeof board); -- cgit v1.2.3-56-ge451