From 9151af222014f2bd7380251c3f1be917da85c0a1 Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Mon, 23 Jul 2018 16:22:09 -0400 Subject: Remove unneeded const --- common/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/util.c') diff --git a/common/util.c b/common/util.c index 33a0c77e..3fa0c03f 100644 --- a/common/util.c +++ b/common/util.c @@ -123,7 +123,7 @@ uint32_t parse_color(const char *color) { return res; } -bool parse_boolean(const char *boolean, const bool current) { +bool parse_boolean(const char *boolean, bool current) { if (strcmp(boolean, "1") == 0 || strcmp(boolean, "yes") == 0 || strcmp(boolean, "on") == 0 -- cgit v1.2.3