summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-02-07 18:06:42 +0000
committernicm <nicm@openbsd.org>2017-02-07 18:06:42 +0000
commitbe2c6238b2b539c6882cac75201d87dcfa8aa2f3 (patch)
treed0ac76763f378f4fb13dbfd320b6a1ccc91985b7
parentOx on its own line; (diff)
downloadwireguard-openbsd-be2c6238b2b539c6882cac75201d87dcfa8aa2f3.tar.xz
wireguard-openbsd-be2c6238b2b539c6882cac75201d87dcfa8aa2f3.zip
Remove a debugging leftover.
-rw-r--r--usr.bin/tmux/format.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/tmux/format.c b/usr.bin/tmux/format.c
index 6e616fa9628..4276fe8885c 100644
--- a/usr.bin/tmux/format.c
+++ b/usr.bin/tmux/format.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: format.c,v 1.120 2017/02/03 11:57:27 nicm Exp $ */
+/* $OpenBSD: format.c,v 1.121 2017/02/07 18:06:42 nicm Exp $ */
/*
* Copyright (c) 2011 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -859,9 +859,8 @@ format_replace(struct format_tree *ft, const char *key, size_t keylen,
*ptr = '\0';
found = format_find(ft, copy + 1, modifiers);
- if (found == NULL) {
- log_debug("XXX %s", copy + 1);
- found = format_expand(ft, copy + 1);}
+ if (found == NULL)
+ found = format_expand(ft, copy + 1);
if (format_choose(ptr + 1, &left, &right) != 0)
goto fail;