diff options
Diffstat (limited to 'src/color.c')
-rw-r--r-- | src/color.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/color.c b/src/color.c index a0e553f..137d795 100644 --- a/src/color.c +++ b/src/color.c @@ -1197,7 +1197,6 @@ static int print_expr(CFILE *cfile, const struct bfs_expr *expr, bool verbose, i attr(printf(2, 0)) static int cvbuff(CFILE *cfile, const char *format, va_list args) { const struct colors *colors = cfile->colors; - int error = errno; // Color specifier (e.g. ${blu}) state struct esc_seq **esc; @@ -1255,12 +1254,6 @@ static int cvbuff(CFILE *cfile, const char *format, va_list args) { } break; - case 'm': - if (dstrcat(&cfile->buffer, xstrerror(error)) != 0) { - return -1; - } - break; - case 'p': switch (*++i) { case 'q': |