From 85a5e1db1da551693a284e994338d6df616ff1d5 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 17 Feb 2015 16:23:53 -0500 Subject: [PATCH] FS-7294: Enable -Werror when building with clang compiler --- libs/esl/fs_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/esl/fs_cli.c b/libs/esl/fs_cli.c index dbf57c9c15..32fb77111c 100644 --- a/libs/esl/fs_cli.c +++ b/libs/esl/fs_cli.c @@ -1205,7 +1205,7 @@ struct color_map_el color_map[] = { static const char* match_color(const char *s) { struct color_map_el *map = color_map; - while (map->name) { + while (*map->name) { if (!(strcasecmp(s, map->name))) { return map->seq; }