From 3978f3a93033b8b87a09894a9ec1931172cbd6f5 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 18 Feb 2022 15:33:51 +0100 Subject: [PATCH] [main] const arg --- src/main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.c b/src/main/main.c index 7d03cbdf7..d9d26778d 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -214,7 +214,7 @@ init(void) if (!list_empty(url_list)) { dump_next(&url_list); } else { - char *arg = get_cmd_opt_bool("dump") + const char *arg = get_cmd_opt_bool("dump") ? "dump" : "source"; usrerror(gettext("URL expected after -%s"), arg);