summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Watts <mdw@cvs.openbsd.org>2002-06-11 09:31:34 +0000
committerMarcus Watts <mdw@cvs.openbsd.org>2002-06-11 09:31:34 +0000
commit180b34af9885b092bee0f67c5b2ac8577d972cfe (patch)
treecebba5c824fd2e7ea9cce5d460cb94520e6ad57e
parent21f5addf573d07009d6c62de98ac9ce74ba02590 (diff)
Saves 4 bytes of filespace
-rw-r--r--sys/ddb/db_hangman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_hangman.c b/sys/ddb/db_hangman.c
index 83a51b3fff5..9f008407e15 100644
--- a/sys/ddb/db_hangman.c
+++ b/sys/ddb/db_hangman.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_hangman.c,v 1.21 2002/06/11 07:54:22 jason Exp $ */
+/* $OpenBSD: db_hangman.c,v 1.22 2002/06/11 09:31:33 mdw Exp $ */
/*
* Copyright (c) 1996 Theo de Raadt, Michael Shalayeff
@@ -170,7 +170,7 @@ db_hangon(void)
{
static size_t len;
static size_t tries;
- static char *word = NULL;
+ static char *word;
static char abc[26+1]; /* for '\0' */
if (word == NULL) {