aboutsummaryrefslogtreecommitdiff
path: root/src/common/cerr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/cerr.c')
-rw-r--r--src/common/cerr.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/common/cerr.c b/src/common/cerr.c
index 819df4a..98bca0f 100644
--- a/src/common/cerr.c
+++ b/src/common/cerr.c
@@ -19,7 +19,6 @@
#define SGR_BOLD "\33[1m"
#define SGR_DONE "\33[0m"
-#define SGR_WARN "\33[1;35m"
#define SGR_ERR "\33[1;31m"
int sizelen(size_t);
@@ -27,7 +26,7 @@ int sizelen(size_t);
static bool color;
static const char *progname;
-static const char *_bold, *_done, *_warn, *_err;
+static const char *_bold, *_done, *_err;
void
cerrinit(const char *s)
@@ -43,10 +42,9 @@ cerrinit(const char *s)
if (color) {
_bold = SGR_BOLD;
_done = SGR_DONE;
- _warn = SGR_WARN;
_err = SGR_ERR;
} else
- _bold = _done = _warn = _err = "";
+ _bold = _done = _err = "";
}
void