1
0
mirror of https://github.com/vgough/encfs.git synced 2025-08-26 04:55:30 +02:00

Cygwin, support Windows-style parameter paths, typo ()

Correct a readability-redundant-string-cstr typo detected by clang
This commit is contained in:
Ben RUBSON
2018-04-23 10:28:19 +02:00
committed by GitHub
parent 6c1fde25fc
commit d0def19145

@@ -484,7 +484,7 @@ static bool processArgs(int argc, char *argv[],
// rest of the code. // rest of the code.
out->opts->rootDir = slashTerminate(argv[optind++]); out->opts->rootDir = slashTerminate(argv[optind++]);
out->opts->unmountPoint = string(argv[optind++]); out->opts->unmountPoint = string(argv[optind++]);
out->opts->mountPoint = slashTerminate(out->opts->unmountPoint.c_str()); out->opts->mountPoint = slashTerminate(out->opts->unmountPoint);
} else { } else {
// no mount point specified // no mount point specified
cerr << _("Missing one or more arguments, aborting.") << endl; cerr << _("Missing one or more arguments, aborting.") << endl;