summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2017-02-07 18:06:43 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2017-02-07 18:06:43 +0000
commit7db541e2bea9889d4866f7688c0b8ac8b7f114b0 (patch)
treee834758dcea36df501c8d2d5cff73338c0835644
parent592068ede72a4641ab6a577fe3f665b3e35b0e31 (diff)
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;