Skip to content

Commit b89e09a

Browse files
committed
Silence "Undefined or garbage value returned to caller" static analysis warning. NFCI.
1 parent 50511df commit b89e09a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Driver/Driver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3449,7 +3449,7 @@ class OffloadingActionBuilder final {
34493449
return nullptr;
34503450

34513451
// Let builders add host linking actions.
3452-
Action* HA;
3452+
Action* HA = nullptr;
34533453
for (DeviceActionBuilder *SB : SpecializedBuilders) {
34543454
if (!SB->isValid())
34553455
continue;

0 commit comments

Comments
 (0)