mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
Klocwork: 未初期化の変数
Klocwork: 到達不能なコード git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@96 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
bbbb3258b2
commit
168ed431c9
@ -359,10 +359,6 @@ void ControlState(::std::vector<std::string>& operationMessage, bool& nextStep,
|
||||
// 削除処理を行う
|
||||
needsErase = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
error = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -372,10 +368,6 @@ void ControlState(::std::vector<std::string>& operationMessage, bool& nextStep,
|
||||
// ネットワークアップデートを行う
|
||||
needsUpdate = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
error = true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -182,7 +182,7 @@ bool GetNtpTime(u32* ntpTime)
|
||||
|
||||
// GetHostByNameを使う場合
|
||||
nn::socket::HostEnt* serverHostent;
|
||||
u64 serveraddr;
|
||||
u64 serveraddr = 0;
|
||||
serverHostent = nn::socket::GetHostByName(GetNtpServerName());
|
||||
if (serverHostent == NULL)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user