summaryrefslogtreecommitdiffstats
path: root/backgammon
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-03-18 23:25:30 +0000
committerchristos <christos@NetBSD.org>2006-03-18 23:25:30 +0000
commit00a63a8f8922196723c2c50f273e8406378b26dd (patch)
treeb34d24902f5a88ed81d9431c0a48c5353d942714 /backgammon
parent8da61ac64118dfad78c5abd84051881c169901d5 (diff)
downloadbsdgames-darwin-00a63a8f8922196723c2c50f273e8406378b26dd.tar.gz
bsdgames-darwin-00a63a8f8922196723c2c50f273e8406378b26dd.tar.zst
bsdgames-darwin-00a63a8f8922196723c2c50f273e8406378b26dd.zip
Coverity CID 1230: Remove spurious close().
Diffstat (limited to 'backgammon')
-rw-r--r--backgammon/common_source/save.c5
1 files changed, 2 insertions, 3 deletions
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);