From 24c329bbb35d96ef261d21b77f559d8fca942bd4 Mon Sep 17 00:00:00 2001 From: Ruediger Meier Date: Mon, 25 Jun 2018 14:23:42 +0200 Subject: lib/path: remove unused expression error: expression result unused [-Werror,-Wunused-value] prefix = optarg, "failed to parse range start"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Ruediger Meier --- lib/path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/path.c b/lib/path.c index 34abb144a..9cc2e3e2e 100644 --- a/lib/path.c +++ b/lib/path.c @@ -1039,7 +1039,7 @@ int main(int argc, char *argv[]) while((c = getopt_long(argc, argv, "p:h", longopts, NULL)) != -1) { switch(c) { case 'p': - prefix = optarg, "failed to parse range start"; + prefix = optarg; break; case 'h': usage(); -- cgit v1.2.3-55-g7522