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