diff options
author | 2017-12-08 09:16:28 -0800 | |
---|---|---|
committer | 2017-12-08 09:18:34 -0800 | |
commit | 367f704e71f352b404df38161f4c367b9ff506c9 (patch) | |
tree | a9319876a96fcca04af89561263b085cc3db6ae0 /src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java | |
parent | baa99fb3d21a9563c9da5c20b975b41111c5519f (diff) |
Rollback of 178106899.
PiperOrigin-RevId: 178384991
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java b/src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java index 3f82509a59..cdd388342a 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java +++ b/src/main/java/com/google/devtools/build/lib/rules/cpp/CompileCommandLine.java @@ -57,7 +57,7 @@ public final class CompileCommandLine { this.cppConfiguration = Preconditions.checkNotNull(cppConfiguration); this.variables = variables; this.actionName = actionName; - this.dotdFile = isGenerateDotdFile(sourceFile) ? dotdFile : null; + this.dotdFile = isGenerateDotdFile(sourceFile) ? Preconditions.checkNotNull(dotdFile) : null; } /** Returns true if Dotd file should be generated. */ |