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:
N2614 2011-03-01 01:59:59 +00:00
parent bbbb3258b2
commit 168ed431c9
2 changed files with 1 additions and 9 deletions

View File

@ -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;
}
}
}

View File

@ -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)
{