platform: Remove unnecessary auto

Description:
Remove the unnecessary auto to avoid using the wrong
rc for ccOnlyResponse.

Motivation:
The response was using the rc variable defined outside the for
loop, while the intended rc inside the loop was ignored.
This caused incorrect return code to be sent during response
handler.

Change-Id: I89af3a7aced11b5c69415416c8c64a40fe5e6317
Signed-off-by: Hoik Chen <hoik.chen.wiwynn@gmail.com>
diff --git a/libpldmresponder/platform.cpp b/libpldmresponder/platform.cpp
index c1aab2b..85491c0 100644
--- a/libpldmresponder/platform.cpp
+++ b/libpldmresponder/platform.cpp
@@ -379,7 +379,7 @@
             bool oneFailedHandler = false;
             for (const auto& handler : handlers)
             {
-                auto rc =
+                rc =
                     handler(request, payloadLength, formatVersion, tid, offset);
                 if (rc != PLDM_SUCCESS)
                 {