Skip to content

Commit

Permalink
Fix NPE when accessing xcodeProperties (#5714)
Browse files Browse the repository at this point in the history
The problem occured when a user:
- imported a project with empty targets list in projectview OR
- ran incremental sync without any changes in targets list

closes #5695
  • Loading branch information
tpasternak committed Nov 17, 2023
1 parent fc41b3e commit 72dc1e8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static class Builder {
ImmutableMap.of();
ImmutableMap<CToolchainIdeInfo, BlazeCompilerSettings> compilerSettings = ImmutableMap.of();
ImmutableSet<File> validHeaderRoots = ImmutableSet.of();
Optional<XcodeCompilerSettings> xcodeSettings;
Optional<XcodeCompilerSettings> xcodeSettings = Optional.empty();
private ImmutableMap<String, String> setTargetToVersionMap;

public Builder() {}
Expand Down

0 comments on commit 72dc1e8

Please sign in to comment.