From 168ed431c98bb716baed5abaf8031e1d5ed669e2 Mon Sep 17 00:00:00 2001 From: N2614 Date: Tue, 1 Mar 2011 01:59:59 +0000 Subject: [PATCH] =?UTF-8?q?Klocwork:=20=E6=9C=AA=E5=88=9D=E6=9C=9F?= =?UTF-8?q?=E5=8C=96=E3=81=AE=E5=A4=89=E6=95=B0=20Klocwork:=20=E5=88=B0?= =?UTF-8?q?=E9=81=94=E4=B8=8D=E8=83=BD=E3=81=AA=E3=82=B3=E3=83=BC=E3=83=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp | 8 -------- trunk/ConsoleDataMigration/ConsoleRestore/NtpClient.cpp | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp b/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp index b8ba3a6..36a4a06 100644 --- a/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp +++ b/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp @@ -359,10 +359,6 @@ void ControlState(::std::vector& operationMessage, bool& nextStep, // 削除処理を行う needsErase = true; } - else - { - error = true; - } } } else @@ -372,10 +368,6 @@ void ControlState(::std::vector& operationMessage, bool& nextStep, // ネットワークアップデートを行う needsUpdate = true; } - else - { - error = true; - } } } diff --git a/trunk/ConsoleDataMigration/ConsoleRestore/NtpClient.cpp b/trunk/ConsoleDataMigration/ConsoleRestore/NtpClient.cpp index f7eab9e..f2a5114 100644 --- a/trunk/ConsoleDataMigration/ConsoleRestore/NtpClient.cpp +++ b/trunk/ConsoleDataMigration/ConsoleRestore/NtpClient.cpp @@ -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) {