Skip to content

Commit

Permalink
lib/path: remove unused expression
Browse files Browse the repository at this point in the history
 error: expression result unused [-Werror,-Wunused-value]
                        prefix = optarg, "failed to parse range start";
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Ruediger Meier <[email protected]>
  • Loading branch information
rudimeier committed Jun 25, 2018
1 parent 77845f7 commit 24c329b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 24c329b

Please sign in to comment.