aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'format.c')
-rw-r--r--format.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/format.c b/format.c
index 57e9e6a4..6036dac3 100644
--- a/format.c
+++ b/format.c
@@ -879,9 +879,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;