Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Egesdahl committed Nov 3, 2022
1 parent 13a34ed commit e3603ef
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions client/local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,10 @@ bool compiler_only_rewrite_includes(const CompileJob &job)
if (const char *rewrite_includes = getenv("ICECC_REMOTE_CPP")) {
return (*rewrite_includes != '\0') && (*rewrite_includes != '0');
}
if (compiler_is_clang(job) && const char *rewrite_includes = getenv("ICECC_CLANG_REMOTE_CPP")) {
return (*rewrite_includes != '\0') && (*rewrite_includes != '0');
if (compiler_is_clang(job)) {
if (const char *rewrite_includes = getenv("ICECC_CLANG_REMOTE_CPP")) {
return (*rewrite_includes != '\0') && (*rewrite_includes != '0');
}
}
return true;
}
Expand Down

0 comments on commit e3603ef

Please sign in to comment.