| 30 | int copy_unsafe_links = 0; |
| 31 | |
| 32 | int |
| 33 | main(int argc, char **argv) |
| 34 | { |
| 35 | int i; |
| 36 | |
| 37 | if (argc <= 1) { |
| 38 | fprintf(stderr, "trimslash: needs at least one argument\n"); |
| 39 | return 1; |
| 40 | } |
| 41 | |
| 42 | for (i = 1; i < argc; i++) { |
| 43 | trim_trailing_slashes(argv[i]); /* modify in place */ |
| 44 | printf("%s\n", argv[i]); |
| 45 | } |
| 46 | return 0; |
| 47 | } |
nothing calls this directly
no test coverage detected