Skip to content

Commit 1231bc2

Browse files
authored
Update Target.cpp
1 parent 1ecbe48 commit 1231bc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Target/Target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1565,7 +1565,7 @@ void Target::SetExecutableModule(ModuleSP &executable_sp,
15651565
ClearModules(false);
15661566

15671567
if (executable_sp) {
1568-
lldb::pid_t pid;
1568+
lldb::pid_t pid = LLDB_INVALID_PROCESS_ID;
15691569
if (ProcessSP proc = GetProcessSP())
15701570
pid = proc->GetID();
15711571

0 commit comments

Comments
 (0)