Removed unused variable

This commit is contained in:
Prianka Liz Kariat 2023-01-16 13:59:51 +05:30
parent a0b3e620e4
commit cf945d3aeb

View File

@ -77,9 +77,7 @@ using absl::StatusCode;
stringWithCString:status.ToString(absl::StatusToStringMode::kWithNoExtraData).c_str()
encoding:NSUTF8StringEncoding];
MPPTasksErrorCode genericErrorCode = MPPTasksErrorCodeUnknownError;
MPPTasksErrorCode errorCode = genericErrorCode;
MPPTasksErrorCode errorCode = MPPTasksErrorCodeUnknownError;
// Maps the absl::StatusCode to the appropriate MPPTasksErrorCode. Note: MPPTasksErrorCode omits
// absl::StatusCode::kOk.
@ -133,7 +131,6 @@ using absl::StatusCode;
errorCode = MPPTasksErrorCodeUnauthenticatedError;
break;
default:
errorCode = genericErrorCode;
break;
}