Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/hunt/huntd Remove tautological #if DEBUG.
details: https://anonhg.NetBSD.org/src/rev/824b973c36ab
branches: trunk
changeset: 794984:824b973c36ab
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Mar 29 21:24:56 2014 +0000
description:
Remove tautological #if DEBUG.
diffstat:
games/hunt/huntd/pathname.c | 17 ++---------------
1 files changed, 2 insertions(+), 15 deletions(-)
diffs (41 lines):
diff -r 8164a4a99605 -r 824b973c36ab games/hunt/huntd/pathname.c
--- a/games/hunt/huntd/pathname.c Sat Mar 29 21:24:26 2014 +0000
+++ b/games/hunt/huntd/pathname.c Sat Mar 29 21:24:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pathname.c,v 1.6 2014/03/29 21:24:26 dholland Exp $ */
+/* $NetBSD: pathname.c,v 1.7 2014/03/29 21:24:56 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
@@ -32,7 +32,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: pathname.c,v 1.6 2014/03/29 21:24:26 dholland Exp $");
+__RCSID("$NetBSD: pathname.c,v 1.7 2014/03/29 21:24:56 dholland Exp $");
#endif /* not lint */
/*
@@ -45,22 +45,9 @@
#include "hunt_common.h"
-#ifdef DEBUG
-
#ifdef INTERNET
u_short Test_port = TEST_PORT;
#else
char *Sock_name = "/tmp/hunt";
char *Stat_name = "/tmp/hunt.stats";
#endif
-
-#else
-
-#ifdef INTERNET
-u_short Test_port = TEST_PORT;
-#else
-char *Sock_name = "/tmp/hunt";
-char *Stat_name = "/tmp/hunt.stats";
-#endif
-
-#endif
Home |
Main Index |
Thread Index |
Old Index