Skip to content

Commit

Permalink
indent.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersbakken committed Dec 18, 2020
1 parent 91304ae commit 541427d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/rdm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ int main(int argc, char** argv)
// #endif
serverOpts.dataDir = String::format<128>("%s.rtags", Path::home().constData());
if (!serverOpts.dataDir.exists()) {
const char * dataDir = getenv("XDG_CACHE_HOME");
serverOpts.dataDir = dataDir ? dataDir : Path::home() + ".cache";
serverOpts.dataDir += "/rtags/";
serverOpts.dataDir.mkdir(Path::Recursive);
const char * dataDir = getenv("XDG_CACHE_HOME");
serverOpts.dataDir = dataDir ? dataDir : Path::home() + ".cache";
serverOpts.dataDir += "/rtags/";
serverOpts.dataDir.mkdir(Path::Recursive);
}
Path logFile;
Flags<LogFlag> logFlags = DontRotate|LogStderr;
Expand Down Expand Up @@ -397,7 +397,7 @@ int main(int argc, char** argv)
switch (type) {
case None:
case Noop:
break;
break;
case Help: {
CommandLineParser::help(stdout, Rct::executablePath().fileName(), opts);
return { String(), CommandLineParser::Parse_Ok }; }
Expand Down

0 comments on commit 541427d

Please sign in to comment.