X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2FKM_fileio.cpp;fp=src%2FKM_fileio.cpp;h=c2cef53dd95047fae7246acd6f716d8222173ba3;hb=b2d885fece98dbb9ce8062c13e04d72ff8a76eb0;hp=231f3b851032e20bb1eec819b0efe1490c47d716;hpb=a494644d6262de7323bec16f7a8fe39df4ea757e;p=asdcplib.git diff --git a/src/KM_fileio.cpp b/src/KM_fileio.cpp index 231f3b8..c2cef53 100644 --- a/src/KM_fileio.cpp +++ b/src/KM_fileio.cpp @@ -666,7 +666,7 @@ Kumu::GetExecutablePath(const std::string& default_path) // This fails if the CWD changes after the program has started but before the // call to GetExecutablePath(). For least surprise, call GetExecutablePath() // immediately in main() and save the value for later use. - const, char* p = getenv("_"); + const char* p = getenv("_"); if ( p ) { return Kumu::PathMakeAbsolute(p);