diff options
| author | Ruediger Meier <ruediger.meier@ga-group.nl> | 2018-06-25 14:23:42 +0200 |
|---|---|---|
| committer | Ruediger Meier <ruediger.meier@ga-group.nl> | 2018-06-25 16:49:37 +0200 |
| commit | 24c329bbb35d96ef261d21b77f559d8fca942bd4 (patch) | |
| tree | c865418f199813f5d44fccee0f4ac526f10c1a40 /lib/path.c | |
| parent | 77845f7bd75cc1f1ac69bfae38a78aa81ae3fb60 (diff) | |
| download | util-linux-24c329bbb35d96ef261d21b77f559d8fca942bd4.tar.gz | |
lib/path: remove unused expression
error: expression result unused [-Werror,-Wunused-value]
prefix = optarg, "failed to parse range start";
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'lib/path.c')
| -rw-r--r-- | lib/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/path.c b/lib/path.c index 34abb144af..9cc2e3e2ea 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(); |
